@python2 nits (#5672)

* tiny tests/mypy_test.py cleanup

* try to make CONTRIBUTING.md less confusing
This commit is contained in:
Akuli
2021-06-21 21:42:45 +03:00
committed by GitHub
parent 68dc2d132b
commit 11b99e1141
3 changed files with 14 additions and 14 deletions

View File

@@ -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