]> granicus.if.org Git - python/commitdiff
Update a comment with more details.
authorGregory P. Smith <greg@mad-scientist.com>
Sat, 27 Feb 2010 08:33:11 +0000 (08:33 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sat, 27 Feb 2010 08:33:11 +0000 (08:33 +0000)
Objects/unicodeobject.c

index 79b0aa7457a9b626d2df89b07cedd21261622726..3ee90b58ddb79b17ad06544a73995b589bd12839 100644 (file)
@@ -1609,7 +1609,8 @@ PyUnicode_DecodeFSDefaultAndSize(const char *s, Py_ssize_t size)
 }
 
 /* Convert the argument to a bytes object, according to the file
-   system encoding */
+   system encoding.  The addr param must be a PyObject**.
+   This is designed to be used with "O&" in PyArg_Parse APIs. */
 
 int
 PyUnicode_FSConverter(PyObject* arg, void* addr)