mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
gh-106320: Remove _PyUnicode_TransformDecimalAndSpaceToASCII() (#106398)
Remove private _PyUnicode_TransformDecimalAndSpaceToASCII() and other private _PyUnicode C API functions: move them to the internal C API (pycore_unicodeobject.h). No longer most of these functions. Replace _testcapi.unicode_transformdecimalandspacetoascii() with _testinternal._PyUnicode_TransformDecimalAndSpaceToASCII().
This commit is contained in:
parent
ec931fc394
commit
8a73b57b9b
6 changed files with 56 additions and 50 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "Python.h"
|
||||
#include "pycore_strhex.h" // _Py_strhex_with_sep()
|
||||
#include "pycore_unicodeobject.h" // _PyUnicode_CheckConsistency()
|
||||
#include <stdlib.h> // abs()
|
||||
|
||||
static PyObject *_Py_strhex_impl(const char* argbuf, const Py_ssize_t arglen,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue