mirror of
				https://github.com/msgpack/msgpack-python.git
				synced 2025-10-31 17:40:54 +00:00 
			
		
		
		
	Python: add "load(s)/dump(s)" alias for compatibility to simplejson/marshal/pickle.
This commit is contained in:
		
							parent
							
								
									76cc80c25d
								
							
						
					
					
						commit
						73ac804b4f
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		|  | @ -1,3 +1,10 @@ | |||
| # coding: utf-8 | ||||
| from _msgpack import * | ||||
| 
 | ||||
| # alias for compatibility to simplejson/marshal/pickle. | ||||
| load = unpack | ||||
| loads = unpackb | ||||
| 
 | ||||
| dump = pack | ||||
| dumps = packb | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 INADA Naoki
						INADA Naoki