diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-29 13:22:29 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-29 13:22:29 (GMT) |
commit | 13735e3e3e69aa1adc5d1f9001216d8c151a8d4d (patch) | |
tree | 25399535b1da1a79b8767773787c8cd2446c84f3 | |
parent | bf222c9f12c1078a5d41acf4f4ce77c1a976c67f (diff) | |
download | cpython-13735e3e3e69aa1adc5d1f9001216d8c151a8d4d.zip cpython-13735e3e3e69aa1adc5d1f9001216d8c151a8d4d.tar.gz cpython-13735e3e3e69aa1adc5d1f9001216d8c151a8d4d.tar.bz2 |
Added Help, Scrap and icglue missing methods.
-rw-r--r-- | Mac/scripts/missingcarbonmethods.py | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/Mac/scripts/missingcarbonmethods.py b/Mac/scripts/missingcarbonmethods.py index 6f65da7..aa8a4fa 100644 --- a/Mac/scripts/missingcarbonmethods.py +++ b/Mac/scripts/missingcarbonmethods.py @@ -2,8 +2,25 @@ # This module is mainly for documentation purposes, but you could use # it to automatically search for usage of methods that are missing. # -# Modules Help and (for the time being) Scrap are completely missing. +missing_icglue = [ + 'ICFindConfigFile', + 'ICFindUserConfigFile', + 'ICChooseConfig', + 'ICChooseNewConfig', +] + +missing_Help = [ + 'Help' +] + +missing_Scrap = [ + 'InfoScrap', + 'GetScrap', + 'ZeroScrap', + 'PutScrap', +] + missing_Win = [ 'GetAuxWin', 'GetWindowDataHandle', @@ -143,7 +160,7 @@ def _search(): # Warning: this function only works on Unix import string, os re = string.join(missing, '|') - re = """[^a-zA-Z'"](%s)[^a-zA-Z'"]""" % re + re = """[^a-zA-Z0-9_'"](%s)[^a-zA-Z0-9_'"]""" % re os.system("find . -name '*.py' -print | xargs egrep '%s'"%re) if __name__ == '__main__': |