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: |