eric5-api.py

changeset 788
5b1b59777460
parent 433
988006cb898f
child 791
9ec2ac20e54e
equal deleted inserted replaced
786:06290d4db8ab 788:5b1b59777460
71 print(" -x directory or --exclude=directory") 71 print(" -x directory or --exclude=directory")
72 print(" Specify a directory basename to be excluded.") 72 print(" Specify a directory basename to be excluded.")
73 print(" This option may be repeated multiple times.") 73 print(" This option may be repeated multiple times.")
74 for lang in sorted(DocumentationTools.supportedExtensionsDictForApis.keys()): 74 for lang in sorted(DocumentationTools.supportedExtensionsDictForApis.keys()):
75 print(" * {0}".format(lang)) 75 print(" * {0}".format(lang))
76 print(" The default is 'Python'.") 76 print(" The default is 'Python3'.")
77 print(" This option may be repeated multiple times.") 77 print(" This option may be repeated multiple times.")
78 sys.exit(1) 78 sys.exit(1)
79 79
80 def version(): 80 def version():
81 """ 81 """
215 Utilities.joinext("__init__", ext)) 215 Utilities.joinext("__init__", ext))
216 if initFile in files: 216 if initFile in files:
217 inpackage = True 217 inpackage = True
218 files.remove(initFile) 218 files.remove(initFile)
219 files.insert(0, initFile) 219 files.insert(0, initFile)
220 elif progLanguage != "Python": 220 elif progLanguage != "Python3":
221 # assume package 221 # assume package
222 inpackage = True 222 inpackage = True
223 else: 223 else:
224 if Utilities.isWindowsPlatform() and glob.has_magic(filename): 224 if Utilities.isWindowsPlatform() and glob.has_magic(filename):
225 files = glob.glob(filename) 225 files = glob.glob(filename)

eric ide

mercurial