mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Deprecate unused Exception attributes
The attributes were used only for the string representation, but that is
also the default behavior of the Exception class. Observe:
>>> str(Exception('foo'))
'foo'
>>> print(Exception('foo'))
foo
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -63,6 +63,9 @@ Deprecated
|
||||
* ``sphinx.cmd.quickstart.TERM_ENCODING``
|
||||
* ``sphinx.config.check_unicode()``
|
||||
* ``sphinx.config.string_classes``
|
||||
* ``sphinx.domains.cpp.DefinitionError.description``
|
||||
* ``sphinx.domains.cpp.NoOldIdError.description``
|
||||
* ``sphinx.domains.cpp.UnsupportedMultiCharacterCharLiteral.decoded``
|
||||
* ``sphinx.ext.autodoc.importer._MockImporter``
|
||||
* ``sphinx.ext.autosummary.Autosummary.warn()``
|
||||
* ``sphinx.ext.autosummary.Autosummary.genopt``
|
||||
|
||||
Reference in New Issue
Block a user