mirror of https://github.com/python/cpython.git
Clinic: Add warning for untested (and unused in CPython!) format units.
This commit is contained in:
parent
472a65a710
commit
2f9a9aaf21
|
@ -1656,6 +1656,7 @@ def converter_init(self, *, encoding=None, types="str",
|
|||
format_unit = 'et#'
|
||||
|
||||
if format_unit.endswith('#'):
|
||||
print("Warning: code using format unit ", repr(format_unit), "probably doesn't work properly.")
|
||||
# TODO set pointer to NULL
|
||||
# TODO add cleanup for buffer
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue