MCPcopy Create free account
hub / github.com/ActiveState/code / __iter__

Method __iter__

recipes/Python/577524_Python_Sessions/recipe-577524.py:193–197  ·  view source on GitHub ↗

Go through the names of all the session variables

(self)

Source from the content-addressed store, hash-verified

191 return self.data.__contains__(item)
192
193 def __iter__(self):
194 """Go through the names of all the session variables"""
195 if not self.started:
196 raise NotStarted("Session must be started")
197 return self.data.__iter__()
198
199def start():
200 global SESSION

Callers

nothing calls this directly

Calls 1

NotStartedClass · 0.85

Tested by

no test coverage detected