mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
testing: Add Path.read_text() and Path.read_bytes()
To migrate pathlib.Path in future, compatibile methods are needed for our Path class.
This commit is contained in:
@@ -31,6 +31,16 @@ The following is a list of deprecated interfaces.
|
||||
- 5.0
|
||||
- ``sphinx.domains.std.StandardDomain.note_object()``
|
||||
|
||||
* - ``sphinx.testing.path.Path.text()``
|
||||
- 3.0
|
||||
- 5.0
|
||||
- ``sphinx.testing.path.Path.read_text()``
|
||||
|
||||
* - ``sphinx.testing.path.Path.bytes()``
|
||||
- 3.0
|
||||
- 5.0
|
||||
- ``sphinx.testing.path.Path.read_bytes()``
|
||||
|
||||
* - ``decode`` argument of ``sphinx.pycode.ModuleAnalyzer()``
|
||||
- 2.4
|
||||
- 4.0
|
||||
|
||||
Reference in New Issue
Block a user