From d911e40e788fb679723d78b6ea11cabf46caed5a Mon Sep 17 00:00:00 2001 From: Ivan Levkivskyi Date: Sat, 20 Jan 2018 11:23:59 +0000 Subject: 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. --- Lib/test/test_pydoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_pydoc.py') diff --git a/Lib/test/test_pydoc.py b/Lib/test/test_pydoc.py index 1926cffba26..0058dceed0d 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', -- cgit v1.2.3