[Python-checkins] r86355 - python/branches/py3k/Modules/_pickle.c

victor.stinner python-checkins at python.org
Tue Nov 9 10:39:41 CET 2010


Author: victor.stinner
Date: Tue Nov 9 10:39:41 2010
New Revision: 86355
Log:
Issue #10359: Remove useless comma, invalid in ISO C
Modified:
 python/branches/py3k/Modules/_pickle.c
Modified: python/branches/py3k/Modules/_pickle.c
==============================================================================
--- python/branches/py3k/Modules/_pickle.c	(original)
+++ python/branches/py3k/Modules/_pickle.c	Tue Nov 9 10:39:41 2010
@@ -71,7 +71,7 @@
 
 /* Protocol 3 (Python 3.x) */
 BINBYTES = 'B',
- SHORT_BINBYTES = 'C',
+ SHORT_BINBYTES = 'C'
 };
 
 /* These aren't opcodes -- they're ways to pickle bools before protocol 2
@@ -103,7 +103,7 @@
 MAX_WRITE_BUF_SIZE = 64 * 1024,
 
 /* Prefetch size when unpickling (disabled on unpeekable streams) */
- PREFETCH = 8192 * 16,
+ PREFETCH = 8192 * 16
 };
 
 /* Exception classes for pickle. These should override the ones defined in


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /