mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
[3.13] gh-119521: Remove _IncompleteInputError from the docs (GH-120993) (GH-121076)
gh-119521: Remove _IncompleteInputError from the docs (GH-120993)
(cherry picked from commit 1167a9a30b
)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
This commit is contained in:
parent
49e5740135
commit
312a32a742
2 changed files with 3 additions and 1 deletions
|
@ -45,7 +45,6 @@ BaseException
|
||||||
├── StopAsyncIteration
|
├── StopAsyncIteration
|
||||||
├── StopIteration
|
├── StopIteration
|
||||||
├── SyntaxError
|
├── SyntaxError
|
||||||
│ └── _IncompleteInputError
|
|
||||||
│ └── IndentationError
|
│ └── IndentationError
|
||||||
│ └── TabError
|
│ └── TabError
|
||||||
├── SystemError
|
├── SystemError
|
||||||
|
|
|
@ -78,6 +78,9 @@ class ExceptionClassTests(unittest.TestCase):
|
||||||
last_depth = depth
|
last_depth = depth
|
||||||
finally:
|
finally:
|
||||||
inheritance_tree.close()
|
inheritance_tree.close()
|
||||||
|
|
||||||
|
# Underscore-prefixed (private) exceptions don't need to be documented
|
||||||
|
exc_set = set(e for e in exc_set if not e.startswith('_'))
|
||||||
self.assertEqual(len(exc_set), 0, "%s not accounted for" % exc_set)
|
self.assertEqual(len(exc_set), 0, "%s not accounted for" % exc_set)
|
||||||
|
|
||||||
interface_tests = ("length", "args", "str", "repr")
|
interface_tests = ("length", "args", "str", "repr")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue