showing function params basically works - fine tuning needed

This commit is contained in:
David Halter
2012-09-15 04:14:47 +02:00
parent 9b7d82a251
commit 3ac2b89fcf
3 changed files with 13 additions and 6 deletions

View File

@@ -172,7 +172,8 @@ class Parser(CachedModule):
name = self.name
if name == '__builtin__' and not is_py3k:
name = 'builtins'
f = open(os.path.sep.join(['mixin', name]) + '.py')
path = os.path.dirname(os.path.abspath(__file__))
f = open(os.path.sep.join([path, 'mixin', name]) + '.py')
except IOError:
return {}
else: