diff options
Diffstat (limited to 'src/py_value.cc')
-rw-r--r-- | src/py_value.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py_value.cc b/src/py_value.cc index 486228c0..b0754896 100644 --- a/src/py_value.cc +++ b/src/py_value.cc @@ -71,7 +71,7 @@ namespace { return (PyObject *)&PyBool_Type; } else if (value.is_long()) { - return (PyObject *)&PyInt_Type; + return (PyObject *)&PyLong_Type; } else if (value.is_string()) { return (PyObject *)&PyUnicode_Type; |