diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2020-03-24 18:36:56 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2020-03-31 11:27:37 +0200 |
commit | b2833f2ebe7c9567883a0140d68deb2e40d4e09d (patch) | |
tree | 87fa8fea5834fadc484dcb9de84f6a04f1dc40a8 | |
parent | 6c92857ee6efab6e6ade68b142b6bd147ed84ceb (diff) | |
download | cython-b2833f2ebe7c9567883a0140d68deb2e40d4e09d.tar.gz |
Update somewhat incorrect comment.
-rw-r--r-- | Cython/Utility/FunctionArguments.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Utility/FunctionArguments.c b/Cython/Utility/FunctionArguments.c index 61a879980..8333d9366 100644 --- a/Cython/Utility/FunctionArguments.c +++ b/Cython/Utility/FunctionArguments.c @@ -241,7 +241,7 @@ static int __Pyx_ParseOptionalKeywords( #if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3 (__Pyx_PyUnicode_GET_LENGTH(**name) != __Pyx_PyUnicode_GET_LENGTH(key)) ? 1 : #endif - // need to convert argument name from bytes to unicode for comparison + // In Py2, we may need to convert the argument name from str to unicode for comparison. PyUnicode_Compare(**name, key); if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad; if (cmp == 0) { |