commit | 1d8fb26709687cd76f159b069a4ba2d29f1fa48a | [log] [tgz] |
---|---|---|
author | Sebastian Rittau <srittau@rittau.biz> | Tue Sep 14 04:41:05 2021 +0200 |
committer | GitHub <noreply@github.com> | Mon Sep 13 19:41:05 2021 -0700 |
tree | 745c1d6d7e04c5d7c5812859a20c0cb582dc17ce | |
parent | 409715f17b57f7c7bb6c06b9b8322c0d86fd0a89 [diff] |
Add "Typing Guidance for Python Libraries" document (#889) By Eric Traut, source: https://raw.githubusercontent.com/microsoft/pyright/main/docs/typed-libraries.md See https://github.com/srittau/type-stub-pep/issues/94 for background. This is a pristine copy of the original document. It needs to be converted into RestructuredText and linked from the index as a next step.
The documentation for Python's static typing can be found at typing.readthedocs.io. You can get help either in our support forum or chat with us on Gitter.
Improvements to the type system should be discussed on the typing-sig mailing list, although the issues in this repository contain some historic discussions.
This GitHub repo is used for several things:
A backport of the typing
module for older Python versions (2.7 and 3.4) is maintained in the src directory. Note that the canonical source lives upstream in the CPython repo.
The typing_extensions
module lives in the typing_extensions directory.
The documentation at typing.readthedocs.io is maintained in the docs directory.
A discussion forum for typing-related user help is hosted here.
See CONTRIBUTING.md for more.
The typing.py module and its unittests are edited in the src
subdirectory of this repo. The python2
subdirectory contains the Python 2 backport.