diff options
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/classfix.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tools/scripts/classfix.py b/Tools/scripts/classfix.py index 09a9400..e676051 100755 --- a/Tools/scripts/classfix.py +++ b/Tools/scripts/classfix.py @@ -1,9 +1,13 @@ #! /usr/local/bin/python +# This script is obsolete -- it is kept for historical purposes only. +# # Fix Python source files to use the new class definition syntax, i.e., +# the syntax used in Python versions before 0.9.8: # class C() = base(), base(), ...: ... -# is changed to +# is changed to the current syntax: # class C(base, base, ...): ... +# # The script uses heuristics to find class definitions that usually # work but occasionally can fail; carefully check the output! # |