Clinic: Add warning for untested (and unused in CPython!) format units.

This commit is contained in:
Larry Hastings 2013-11-24 04:23:35 -08:00
parent 472a65a710
commit 2f9a9aaf21

View file

@ -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