diff options
author | robot-piglet <[email protected]> | 2024-07-27 14:31:46 +0300 |
---|---|---|
committer | robot-piglet <[email protected]> | 2024-07-27 14:39:42 +0300 |
commit | 271bf6a41232dc7ad1f5e13fd33871400f27bd98 (patch) | |
tree | 4ecd263dbfe06b00adc836a0a1b1439edb67ff9a | |
parent | d0de29447f964f405d9fc3f37618cf3796724c61 (diff) |
Intermediate changes
-rw-r--r-- | library/python/cyson/cyson/helpers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/python/cyson/cyson/helpers.cpp b/library/python/cyson/cyson/helpers.cpp index 0d273a0d058..ffcaa97322b 100644 --- a/library/python/cyson/cyson/helpers.cpp +++ b/library/python/cyson/cyson/helpers.cpp @@ -125,7 +125,7 @@ namespace NCYson { } #if PY_MAJOR_VERSION >= 3 - PyObject* tmp = _PyLong_Format(obj, 10); + PyObject* tmp = PyNumber_ToBase(obj, 10); if (!tmp) { return nullptr; } |