diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-05-26 05:35:26 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-05-26 05:35:26 (GMT) |
commit | 46f50726a0047ae81d478c3a206f587b8f35ed08 (patch) | |
tree | 2046fa568e0abebe8f055b30fbbd4585a429a708 /Lib/traceback.py | |
parent | eb9aca3c071aab925831a389ab26816c170dc159 (diff) | |
download | cpython-46f50726a0047ae81d478c3a206f587b8f35ed08.zip cpython-46f50726a0047ae81d478c3a206f587b8f35ed08.tar.gz cpython-46f50726a0047ae81d478c3a206f587b8f35ed08.tar.bz2 |
Issue #27076: Doc, comment and tests spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
Diffstat (limited to 'Lib/traceback.py')
-rw-r--r-- | Lib/traceback.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/traceback.py b/Lib/traceback.py index 9b69da0..a2eb539 100644 --- a/Lib/traceback.py +++ b/Lib/traceback.py @@ -136,7 +136,7 @@ def format_exception_only(etype, value): return list(TracebackException(etype, value, None).format_exception_only()) -# -- not offical API but folk probably use these two functions. +# -- not official API but folk probably use these two functions. def _format_final_exc_line(etype, value): valuestr = _some_str(value) @@ -418,13 +418,13 @@ class TracebackException: - :attr:`stack` A `StackSummary` representing the traceback. - :attr:`exc_type` The class of the original traceback. - :attr:`filename` For syntax errors - the filename where the error - occured. + occurred. - :attr:`lineno` For syntax errors - the linenumber where the error - occured. + occurred. - :attr:`text` For syntax errors - the text where the error - occured. + occurred. - :attr:`offset` For syntax errors - the offset into the text where the - error occured. + error occurred. - :attr:`msg` For syntax errors - the compiler error message. """ |