summaryrefslogtreecommitdiffstats
path: root/Objects/exceptions.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/exceptions.c')
-rw-r--r--Objects/exceptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c
index be3302b..6832fd9 100644
--- a/Objects/exceptions.c
+++ b/Objects/exceptions.c
@@ -369,7 +369,7 @@ SimpleExtendsException(PyExc_StandardError, TypeError,
* StopIteration extends Exception
*/
SimpleExtendsException(PyExc_Exception, StopIteration,
- "Signal the end from iterator.next().");
+ "Signal the end from iterator.__next__().");
/*