ruamel.std.typing Code
Brought to you by:
anthon
| File | Date | Author | Commit |
|---|---|---|---|
| _test | 2017-04-19 |
|
[eca9aa] initial version |
| .hgtags | 2020-03-30 |
|
[760704] Added tag 0.1.2 for changeset a1c6b28f81ef |
| LICENSE | 2020-03-30 |
|
[74da87] update setup.py |
| README.rst | 2017-04-19 |
|
[eca9aa] initial version |
| __init__.py | 2020-03-30 |
|
[a1c6b2] update setup.py |
| setup.py | 2020-03-30 |
|
[74da87] update setup.py |
package ruamel.std.pathlib is a drop-in replacement to extend the Python standard typing` module.
This package alleviates the need to do:
import sys
if sys.version_info >= (3, 5, 2):
from typing import Dict, List, Any, Union, Text # NOQA
instead you can just do:
from ruamel.std.typing import Dict, List, Any, Union, Text