diff options
Diffstat (limited to 'Lib/warnings.py')
| -rw-r--r-- | Lib/warnings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/warnings.py b/Lib/warnings.py index d7ea057a68..4e7241fe6c 100644 --- a/Lib/warnings.py +++ b/Lib/warnings.py @@ -62,7 +62,7 @@ def _formatwarnmsg_impl(msg): tb = None if tb is not None: - s += 'Object allocated at (most recent call first):\n' + s += 'Object allocated at (most recent call last):\n' for frame in tb: s += (' File "%s", lineno %s\n' % (frame.filename, frame.lineno)) |
