]> granicus.if.org Git - python/commitdiff
Added Help, Scrap and icglue missing methods.
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 29 Jan 2001 13:22:29 +0000 (13:22 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 29 Jan 2001 13:22:29 +0000 (13:22 +0000)
Mac/scripts/missingcarbonmethods.py

index 6f65da7c7e4934ae2d5377831d6d0196459f2686..aa8a4fad7458ae0dd6ed93d0bc5ff91f58000880 100644 (file)
@@ -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__':