summaryrefslogtreecommitdiff
path: root/raw_building.py
diff options
context:
space:
mode:
authorcpopa <devnull@localhost>2014-02-03 11:29:06 +0200
committercpopa <devnull@localhost>2014-02-03 11:29:06 +0200
commit49dab4f89a19dc7e3090480f218e6516e0b36acc (patch)
treea7aa256139cb8684b5b463dde7c88e8a7e5f0ef7 /raw_building.py
parentaff33d0a6ba661cef3ad6f830ec6996952d69177 (diff)
downloadastroid-49dab4f89a19dc7e3090480f218e6516e0b36acc.tar.gz
Add link to Python issue.
Diffstat (limited to 'raw_building.py')
-rw-r--r--raw_building.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/raw_building.py b/raw_building.py
index 56d07c0..88f2547 100644
--- a/raw_building.py
+++ b/raw_building.py
@@ -36,6 +36,7 @@ MANAGER = AstroidManager()
_CONSTANTS = tuple(CONST_CLS) # the keys of CONST_CLS eg python builtin types
def _io_discrepancy(member):
+ # _io modules names itself `io`: http://bugs.python.org/issue18602
member_self = getattr(member, '__self__', None)
return (member_self and
member_self.__name__ == '_io' and