mirror of
https://github.com/python/cpython.git
synced 2025-10-22 14:42:22 +00:00
Added Help, Scrap and icglue missing methods.
This commit is contained in:
parent
bf222c9f12
commit
13735e3e3e
1 changed files with 19 additions and 2 deletions
|
@ -2,7 +2,24 @@
|
||||||
# This module is mainly for documentation purposes, but you could use
|
# This module is mainly for documentation purposes, but you could use
|
||||||
# it to automatically search for usage of methods that are missing.
|
# 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 = [
|
missing_Win = [
|
||||||
'GetAuxWin',
|
'GetAuxWin',
|
||||||
|
@ -143,7 +160,7 @@ def _search():
|
||||||
# Warning: this function only works on Unix
|
# Warning: this function only works on Unix
|
||||||
import string, os
|
import string, os
|
||||||
re = string.join(missing, '|')
|
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)
|
os.system("find . -name '*.py' -print | xargs egrep '%s'"%re)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue