Lines Matching refs:instance
1482 'a instance method is not a data descriptor')
1975 # we get the descriptor instead of the instance attribute
1980 def __get__(self, instance, owner):
1987 # for a non data descriptor we return the instance attribute
2002 def __get__(self, instance, owner):
2022 instance = Something()
2023 self.assertEqual(inspect.getattr_static(instance, 'foo'), 3)
2024 self.assertFalse(instance.executed)
2086 instance = Thing()
2087 self.assertEqual(inspect.getattr_static(instance, "spam"), 42)