Utilities/ModuleParser.py

changeset 97
c4086afea02b
parent 49
f991944e859c
child 428
58405c24aa09
child 445
accf2f63d364
equal deleted inserted replaced
96:9624a110667d 97:c4086afea02b
1271 @param caching flag indicating that the parsed module should be 1271 @param caching flag indicating that the parsed module should be
1272 cached (boolean) 1272 cached (boolean)
1273 @return reference to a Module object containing the parsed 1273 @return reference to a Module object containing the parsed
1274 module information (Module) 1274 module information (Module)
1275 ''' 1275 '''
1276 global _modules
1277
1276 if extensions is None: 1278 if extensions is None:
1277 _extensions = ['.py', '.pyw', '.ptl', '.rb'] 1279 _extensions = ['.py', '.pyw', '.ptl', '.rb']
1278 else: 1280 else:
1279 _extensions = extensions[:] 1281 _extensions = extensions[:]
1280 try: 1282 try:

eric ide

mercurial