summaryrefslogtreecommitdiff
path: root/raw_building.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2014-02-03 11:29:06 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2014-02-03 11:29:06 +0200
commit55d4371d9f9dca0689f7b44198ccbde5e88a4ed6 (patch)
tree4fd1297ca63c2a175fc648ce75291ebbfc2e5609 /raw_building.py
parent235f4b8931432884a6d10d365e52581e7223de55 (diff)
downloadastroid-git-55d4371d9f9dca0689f7b44198ccbde5e88a4ed6.tar.gz
Add link to Python issue.
--HG-- branch : nameconstant_py34
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 56d07c07..88f2547e 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