Created
March 8, 2016 03:30
-
-
Save andrealmar/29828409e8aad867574e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> # Quando a função termina, a exceção StopIteration é levantada automaticamente. | |
>>> next(a) | |
Traceback (most recent call last): | |
... | |
StopIteration | |
>>> next(a) | |
Traceback (most recent call last): | |
... | |
StopIteration |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment