mirror of
https://github.com/python/cpython.git
synced 2025-09-11 11:17:16 +00:00
bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in AC. (GH-11150)
This commit is contained in:
parent
7b36016a15
commit
afb3e71a17
9 changed files with 110 additions and 98 deletions
|
@ -2858,7 +2858,7 @@ class unicode_converter(CConverter):
|
|||
@add_legacy_c_converter('Z', accept={str, NoneType})
|
||||
@add_legacy_c_converter('Z#', accept={str, NoneType}, zeroes=True)
|
||||
class Py_UNICODE_converter(CConverter):
|
||||
type = 'Py_UNICODE *'
|
||||
type = 'const Py_UNICODE *'
|
||||
default_type = (str, Null, NoneType)
|
||||
format_unit = 'u'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue