Return the number of cookies in the jar.
(self)
| 155 | return self.delete(name) |
| 156 | |
| 157 | def __len__(self) -> int: |
| 158 | """Return the number of cookies in the jar.""" |
| 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.""" |
nothing calls this directly
no outgoing calls
no test coverage detected