mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-28 20:42:19 +08:00
@python2 nits (#5672)
* tiny tests/mypy_test.py cleanup * try to make CONTRIBUTING.md less confusing
This commit is contained in:
@@ -61,8 +61,9 @@ contains the following:
|
||||
* Stubs (i.e. `*.pyi` files) for packages and modules that are shipped in the
|
||||
source distribution.
|
||||
* If the stubs are either Python 2-only, or if the Python 2 and Python 3 stubs
|
||||
are separate, the Python 2 stubs are put in a `@python2` subdirectory. In the
|
||||
former case, there are no stubs or package directories on the top level.
|
||||
are separate, the Python 2 stubs are put in a `@python2` subdirectory.
|
||||
Stubs outside `@python2` are always used with Python 3,
|
||||
and also with Python 2 if `python2 = true` is set in `METADATA.toml` (see below).
|
||||
* (Rarely) some docs specific to a given type stub package in `README` file.
|
||||
|
||||
When a third party stub is
|
||||
|
||||
Reference in New Issue
Block a user