Added support for automatic conversion of input types to Py_ssize_t.
authorWilliam Stein <wstein@gmail.com>
Fri, 3 Nov 2006 23:34:39 +0000 (15:34 -0800)
committerWilliam Stein <wstein@gmail.com>
Fri, 3 Nov 2006 23:34:39 +0000 (15:34 -0800)
Cython/Compiler/PyrexTypes.py

index 09513fb7b89cee08970772df8459c5de0243ba12..c3ea8343b547a4becc026c2031d3b6b9042da5d0 100644 (file)
@@ -293,7 +293,7 @@ class CNumericType(CType):
     default_value = "0"
     
     parsetuple_formats = ( # rank -> format
-        "?HIkK????", # unsigned
+        "?HIkKn???", # unsigned
         "chilL?fd?", # signed
     )