Closed methane closed 2 years ago
https://docs.python.org/3/c-api/arg.html#strings-and-buffers
Deprecated since version 3.3, will be removed in version 4.0: Part of the old-style Py_UNICODE API; please migrate to using PyUnicode_AsWideCharString().
Please use 'U' and PyUnicode_AsWideCharString instead.
In Python 3.10 this produces:
DeprecationWarning: getargs: The 'u' format is deprecated. Use 'U' instead.
https://docs.python.org/3/c-api/arg.html#strings-and-buffers
Please use 'U' and PyUnicode_AsWideCharString instead.