Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz/python-cookbook
/ __init__
Method
__init__
src/4/iterating_in_reverse/example.py:4–5 ·
view source on GitHub ↗
(self, start)
Source
from the content-addressed store, hash-verified
2
3
class
Countdown:
4
def
__init__(self, start):
5
self.start = start
6
7
# Forward iterator
8
def
__iter__(self):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected