Return an iterator over the names of the cookies in the jar.
(self)
| 159 | return len(self.jar) |
| 160 | |
| 161 | def __iter__(self) -> typing.Iterator[str]: |
| 162 | """Return an iterator over the names of the cookies in the jar.""" |
| 163 | return (cookie.name for cookie in self.jar) |
| 164 | |
| 165 | def __bool__(self) -> bool: |
| 166 | """Return True if there are any cookies in the jar.""" |
nothing calls this directly
no outgoing calls
no test coverage detected