Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[gi] wrap map in a list for Python 3 compat

  • Loading branch information...
commit d5ddaa92e6349c2f52b67317326060973cb69661 1 parent 3e5ab72
John (J5) Palmieri authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  gi/types.py
View
2  gi/types.py
@@ -244,7 +244,7 @@ def mro(C):
bases_of_subclasses = [[C]]
if C.__bases__:
- bases_of_subclasses += map(mro, C.__bases__) + [list(C.__bases__)]
+ bases_of_subclasses += list(map(mro, C.__bases__)) + [list(C.__bases__)]
while bases_of_subclasses:
for subclass_bases in bases_of_subclasses:
Please sign in to comment.
Something went wrong with that request. Please try again.