Originally reported by: Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore?)
Support the following:
#!python
from astroid.test_utils import extract_node
n = extract_node('''
def func(cls, bases, attrs):
return ...
class A(func): #@
pass
''')
print(n.metaclass()) # Should print the class that func returns
Originally reported by: Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore?)
Support the following:
Working on a patch already.