MCPcopy Create free account
hub / github.com/python/cpython / foo

Method foo

Lib/test/test_descr.py:5367–5368  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5365
5366 @property
5367 def foo(self):
5368 return self.__getattr__("asdf")
5369
5370 with self.assertRaisesRegex(ValueError, "FOO"):
5371 A().foo

Callers

nothing calls this directly

Calls 1

__getattr__Method · 0.95

Tested by

no test coverage detected