Fix a small bug in the logic of finding self variables.

This commit is contained in:
Dave Halter
2015-02-25 13:54:13 +01:00
parent 30efdc5e4e
commit d7b69ab92c
2 changed files with 5 additions and 1 deletions

View File

@@ -139,6 +139,9 @@ class TestInstanceVar():
def b(self):
#< (-4,13), (0,13)
self._instance_var
# A call to self used to trigger an error, because it's also a trailer
# with two children.
self()
class NestedClass():