Mercurial > cpython-lru_cache-weakref
diff Mac/scripts/missingcarbonmethods.py @ 16334:36db193608be legacy-trunk
Added Help, Scrap and icglue missing methods.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Mon, 29 Jan 2001 13:22:29 +0000 |
| parents | 8d4a25c81a9b |
| children | a4bba3eb34c1 |
line wrap: on
line diff
--- a/Mac/scripts/missingcarbonmethods.py Mon Jan 29 11:29:44 2001 +0000 +++ b/Mac/scripts/missingcarbonmethods.py Mon Jan 29 13:22:29 2001 +0000 @@ -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 @@ # 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__':
