mirror of
https://github.com/python/cpython
synced 2026-09-29 10:30:29 +03:00
Clinic: Add warning for untested (and unused in CPython!) format units.
This commit is contained in:
parent
472a65a710
commit
2f9a9aaf21
1 changed files with 1 additions and 0 deletions
|
|
@ -1656,6 +1656,7 @@ class str_converter(CConverter):
|
|||
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…
Add table
Add a link
Reference in a new issue