diff options
author | Larry Hastings <larry@hastings.org> | 2013-11-24 12:23:35 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2013-11-24 12:23:35 (GMT) |
commit | 2f9a9aaf213f9fea109c5d4828d1bbff4b3a0b2b (patch) | |
tree | 1c0ce2a5869e5d63c3ac1701f57fa34842b6b8ac /Tools/clinic | |
parent | 472a65a7104a0bc8851d00605f45fff2e78a058e (diff) | |
download | cpython-2f9a9aaf213f9fea109c5d4828d1bbff4b3a0b2b.zip cpython-2f9a9aaf213f9fea109c5d4828d1bbff4b3a0b2b.tar.gz cpython-2f9a9aaf213f9fea109c5d4828d1bbff4b3a0b2b.tar.bz2 |
Clinic: Add warning for untested (and unused in CPython!) format units.
Diffstat (limited to 'Tools/clinic')
-rwxr-xr-x | Tools/clinic/clinic.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py index 3c40e06..cac90e1 100755 --- a/Tools/clinic/clinic.py +++ b/Tools/clinic/clinic.py @@ -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 |