Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be5e342

Browse files
committed
Note obsolescence
1 parent 07886d0 commit be5e342

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Tools/scripts/classfix.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
#! /usr/local/bin/python
22

3+
# This script is obsolete -- it is kept for historical purposes only.
4+
#
35
# Fix Python source files to use the new class definition syntax, i.e.,
6+
# the syntax used in Python versions before 0.9.8:
47
# class C() = base(), base(), ...: ...
5-
# is changed to
8+
# is changed to the current syntax:
69
# class C(base, base, ...): ...
10+
#
711
# The script uses heuristics to find class definitions that usually
812
# work but occasionally can fail; carefully check the output!
913
#

0 commit comments

Comments
 (0)