Skip to content

Commit 9c81069

Browse files
committed
Shorten docs
1 parent f2507a5 commit 9c81069

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

Doc/library/exceptions.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -215,17 +215,11 @@ The following exceptions are the exceptions that are usually raised.
215215

216216
The object that was accessed for the named attribute.
217217

218-
When possible, :attr:`name` and :attr:`obj` are set automatically
219-
for failed attribute lookups.
218+
When possible, :attr:`name` and :attr:`obj` are set automatically.
220219

221220
.. versionchanged:: 3.10
222221
Added the :attr:`name` and :attr:`obj` attributes.
223222

224-
.. versionchanged:: next
225-
The default error message is now generated from :attr:`name` and
226-
:attr:`obj` when both attributes are set and the exception was
227-
constructed with no positional arguments, or with a single positional
228-
argument equal to :attr:`name`.
229223

230224
.. exception:: EOFError
231225

0 commit comments

Comments
 (0)