mirror of
				https://github.com/msgpack/msgpack-python.git
				synced 2025-11-04 03:20:56 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			335 B
		
	
	
	
		
			Cython
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			335 B
		
	
	
	
		
			Cython
		
	
	
	
	
	
# coding: utf-8
 | 
						|
#cython: embedsignature=True, c_string_encoding=ascii, language_level=3
 | 
						|
from cpython.datetime cimport import_datetime, datetime_new
 | 
						|
import_datetime()
 | 
						|
 | 
						|
import datetime
 | 
						|
cdef object utc = datetime.timezone.utc
 | 
						|
cdef object epoch = datetime_new(1970, 1, 1, 0, 0, 0, 0, tz=utc)
 | 
						|
 | 
						|
include "_packer.pyx"
 | 
						|
include "_unpacker.pyx"
 |