diff options
| author | Victor Stinner <vstinner@python.org> | 2023-08-24 23:01:30 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-24 23:01:30 (GMT) |
| commit | b32d4cad15f537f25063bcd56377e16df59d98db (patch) | |
| tree | 0a71372347d58e79575f9dfae35407c694fcb611 /Objects/unicodeobject.c | |
| parent | 4e5a7284eef4308dce252ca1115d4a5a5b7e6ae8 (diff) | |
| download | cpython-b32d4cad15f537f25063bcd56377e16df59d98db.zip cpython-b32d4cad15f537f25063bcd56377e16df59d98db.tar.gz cpython-b32d4cad15f537f25063bcd56377e16df59d98db.tar.bz2 | |
gh-108444: Replace _PyLong_AsInt() with PyLong_AsInt() (#108459)
Change generated by the command:
sed -i -e 's!_PyLong_AsInt!PyLong_AsInt!g' \
$(find -name "*.c" -o -name "*.h")
Diffstat (limited to 'Objects/unicodeobject.c')
| -rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 6bbc2af..2f6f413 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -14034,7 +14034,7 @@ unicode_format_arg_parse(struct unicode_formatter_t *ctx, "* wants int"); return -1; } - arg->prec = _PyLong_AsInt(v); + arg->prec = PyLong_AsInt(v); if (arg->prec == -1 && PyErr_Occurred()) return -1; if (arg->prec < 0) |
