MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / __repr__

Method __repr__

example_code/item_059.py:59–60  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

57 self.quota = 0
58
59 def __repr__(self):
60 return f"Bucket(quota={self.quota})"
61
62
63bucket = Bucket(60)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected