diff options
author | Emile Anclin <emile.anclin@logilab.fr> | 2009-09-10 18:13:04 +0200 |
---|---|---|
committer | Emile Anclin <emile.anclin@logilab.fr> | 2009-09-10 18:13:04 +0200 |
commit | a7092cb6c3248ddd2b3330922204fb504bd4accd (patch) | |
tree | b11fd34773c61b11a93104d8ad2f465dce27c8f6 /inference.py | |
parent | 5362f4a0eae9efa8b625ba0de078951c83e66769 (diff) | |
download | astroid-git-a7092cb6c3248ddd2b3330922204fb504bd4accd.tar.gz |
[R] demonkey patching some Const, Dict, List and Tuple attributes
Diffstat (limited to 'inference.py')
-rw-r--r-- | inference.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/inference.py b/inference.py index 5168c3ea..66b0aa6d 100644 --- a/inference.py +++ b/inference.py @@ -61,18 +61,13 @@ def Const_pytype(self): return self._proxied.qname() nodes.Const.pytype = Const_pytype -nodes.Const.has_dynamic_getattr = lambda x: False - nodes.List._proxied = MANAGER.astng_from_class(list) nodes.List.__bases__ += (Instance,) -nodes.List.pytype = lambda x: '__builtin__.list' nodes.Tuple._proxied = MANAGER.astng_from_class(tuple) nodes.Tuple.__bases__ += (Instance,) -nodes.Tuple.pytype = lambda x: '__builtin__.tuple' nodes.Dict.__bases__ += (Instance,) nodes.Dict._proxied = MANAGER.astng_from_class(dict) -nodes.Dict.pytype = lambda x: '__builtin__.dict' class CallContext: |