summaryrefslogtreecommitdiffstats
path: root/Tools/modulator/modulator.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-12-27 23:35:43 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-12-27 23:35:43 (GMT)
commit9aaee933da8ce390c8c34fc227054b2651264368 (patch)
tree6ae5e879867bf1977da12f9bf050366c2f5087ca /Tools/modulator/modulator.py
parentb9526515b7303e9d09a67f8438902ff01a55abc4 (diff)
downloadcpython-9aaee933da8ce390c8c34fc227054b2651264368.zip
cpython-9aaee933da8ce390c8c34fc227054b2651264368.tar.gz
cpython-9aaee933da8ce390c8c34fc227054b2651264368.tar.bz2
Patches by Jens B. Jorgensen with small mods by me:
- Converted the templates to use ANSI C prototypes (finally!) - Use re in stead of deprecated regex
Diffstat (limited to 'Tools/modulator/modulator.py')
-rwxr-xr-xTools/modulator/modulator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/modulator/modulator.py b/Tools/modulator/modulator.py
index add8b6a..cdf6afe 100755
--- a/Tools/modulator/modulator.py
+++ b/Tools/modulator/modulator.py
@@ -30,8 +30,8 @@ import string
oops = 'oops'
-IDENTSTARTCHARS = string.ascii_letters + '_'
-IDENTCHARS = string.ascii_letters + string.digits + '_'
+IDENTSTARTCHARS = string.letters + '_'
+IDENTCHARS = string.letters + string.digits + '_'
# Check that string is a legal C identifier
def checkid(str):