summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2010-02-27 08:33:11 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2010-02-27 08:33:11 (GMT)
commitcc47d8c8d4e9cdc6829d4bb7813564f476322247 (patch)
treeb65f0a50571caba22a618d152ed5f8cc16578d95 /Objects
parentb6e8c7e8fb750e44b387557ad19afe2ccfe69f7c (diff)
downloadcpython-cc47d8c8d4e9cdc6829d4bb7813564f476322247.zip
cpython-cc47d8c8d4e9cdc6829d4bb7813564f476322247.tar.gz
cpython-cc47d8c8d4e9cdc6829d4bb7813564f476322247.tar.bz2
Update a comment with more details.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 79b0aa7..3ee90b5 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -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)