##// END OF EJS Templates
docs/autogen_shortcuts.py: support Python 3.8...
docs/autogen_shortcuts.py: support Python 3.8 In 64e72a955 (Restore shortcuts in documentation, define identifiers, 2023-01-08), some typing annotations were added to docs/autogen_shortcuts.py using the builtin container type 'list'. This feature is only available starting in Python 3.9 [1], but setup.cfg lists Python 3.8 as the earliest supported Python version. This leads to a failing documentation build in a Python 3.8 virtual environment. Fix this by using the capitalized name 'List' from the 'typing' module to keep Python 3.8 compatibility. [1] https://docs.python.org/3/whatsnew/3.9.html#type-hinting-generics-in-standard-collections
Philippe Blain -
r28181:2c9a826a
Show More
Name Size Modified Last Commit Author
/ IPython / utils / tests
__init__.py Loading ...
test_capture.py Loading ...
test_decorators.py Loading ...
test_deprecated.py Loading ...
test_dir2.py Loading ...
test_imports.py Loading ...
test_importstring.py Loading ...
test_io.py Loading ...
test_module_paths.py Loading ...
test_openpy.py Loading ...
test_path.py Loading ...
test_process.py Loading ...
test_pycolorize.py Loading ...
test_shimmodule.py Loading ...
test_sysinfo.py Loading ...
test_tempdir.py Loading ...
test_text.py Loading ...
test_tokenutil.py Loading ...
test_wildcard.py Loading ...