[Python-checkins] r72217 - python/branches/py3k/Python/codecs.c

martin.v.loewis python-checkins at python.org
Sat May 2 21:27:30 CEST 2009


Author: martin.v.loewis
Date: Sat May 2 21:27:30 2009
New Revision: 72217
Log:
Make PyCodec_SurrogateErrors static.
Modified:
 python/branches/py3k/Python/codecs.c
Modified: python/branches/py3k/Python/codecs.c
==============================================================================
--- python/branches/py3k/Python/codecs.c	(original)
+++ python/branches/py3k/Python/codecs.c	Sat May 2 21:27:30 2009
@@ -748,7 +748,10 @@
 }
 }
 
-PyObject *PyCodec_SurrogateErrors(PyObject *exc)
+/* This handler is declared static until someone demonstrates
+ a need to call it directly. */
+static PyObject *
+PyCodec_SurrogateErrors(PyObject *exc)
 {
 PyObject *restuple;
 PyObject *object;


More information about the Python-checkins mailing list

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