We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2507a5 commit 9c81069Copy full SHA for 9c81069
1 file changed
Doc/library/exceptions.rst
@@ -215,17 +215,11 @@ The following exceptions are the exceptions that are usually raised.
215
216
The object that was accessed for the named attribute.
217
218
- When possible, :attr:`name` and :attr:`obj` are set automatically
219
- for failed attribute lookups.
+ When possible, :attr:`name` and :attr:`obj` are set automatically.
220
221
.. versionchanged:: 3.10
222
Added the :attr:`name` and :attr:`obj` attributes.
223
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`.
229
230
.. exception:: EOFError
231
0 commit comments