diff options
author | Ivan Levkivskyi <levkivskyi@gmail.com> | 2018-01-20 11:23:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-20 11:23:59 (GMT) |
commit | d911e40e788fb679723d78b6ea11cabf46caed5a (patch) | |
tree | f9743a329c64febe70f7be0b5d610c2a8ea4412d /Lib/test/test_pydoc.py | |
parent | d57f26c753dce61f72b52b96db3a3253d9f2fc3e (diff) | |
download | cpython-d911e40e788fb679723d78b6ea11cabf46caed5a.zip cpython-d911e40e788fb679723d78b6ea11cabf46caed5a.tar.gz cpython-d911e40e788fb679723d78b6ea11cabf46caed5a.tar.bz2 |
bpo-32226: PEP 560: improve typing module (#4906)
This PR re-designs the internal typing API using the new PEP 560 features.
However, there are only few minor changes in the public API.
Diffstat (limited to 'Lib/test/test_pydoc.py')
-rw-r--r-- | Lib/test/test_pydoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pydoc.py b/Lib/test/test_pydoc.py index 1926cff..0058dce 100644 --- a/Lib/test/test_pydoc.py +++ b/Lib/test/test_pydoc.py @@ -827,7 +827,7 @@ class TestDescriptions(unittest.TestCase): 'f\x08fo\x08oo\x08o(data: List[Any], x: int)' ' -> Iterator[Tuple[int, Any]]') self.assertEqual(pydoc.render_doc(C).splitlines()[2], - 'class C\x08C(typing.Mapping)') + 'class C\x08C(collections.abc.Mapping, typing.Generic)') def test_builtin(self): for name in ('str', 'str.translate', 'builtins.str', |