1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00
semantic/test/fixtures/python/analysis/subclass.py
Patrick Thomson bd939d2579 Fix Python method calls.
`identifier` in the Python assignment module was too eager to reduce a
nested Attribute into a dotted identifier. Removing it fixes method
calls, which now have a unit test.
2018-03-22 15:35:08 -04:00

10 lines
113 B
Python

class Foo():
def dang():
return "foo"
class Bar():
def dang():
return "bar"
Bar.dang()