Add type stubs document (#844)

This was originally intended to become a PEP and was written by:

Sebastian Rittau <[email protected]>
Rebecca Chen <[email protected]>
Teddy Sudol <[email protected]>
Jelle Zijlstra <[email protected]>

Also, remove unnecessary modindex link from main index.
2 files changed
tree: 76797c6535fb057fa34ceaaf60226c40c83babf3
  1. docs/
  2. drafts/
  3. python2/
  4. src/
  5. typing_extensions/
  6. .flake8-tests
  7. .gitignore
  8. .travis.yml
  9. CONTRIBUTING.md
  10. LICENSE
  11. MANIFEST.in
  12. README.md
  13. setup.cfg
  14. setup.py
  15. test-requirements.txt
  16. tox.ini
  17. update-mypy.sh
  18. update-stdlib.sh
README.md

Chat at https://gitter.im/python/typing

PEP 484: Type Hints

This GitHub repo is used for three separate things:

  • The issue tracker is used to discuss PEP-level type system issues. However, typing-sig is more appropriate these days.

  • A backport of the typing module for older Python versions (2.7 and 3.4) is maintained here. Note that the canonical source lives upstream in the CPython repo.

  • The typing_extensions module lives here.

Workflow

  • 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.