Fix incomplete stubs wording in CONTRIBUTING.md (#8906)

This commit is contained in:
Nikita Sobolev
2022-10-16 12:51:07 +03:00
committed by GitHub
parent ce4668a132
commit 208c09044c

View File

@@ -352,7 +352,7 @@ follow the following guidelines:
`# incomplete` comment (see example below).
* Partial modules (i.e. modules that are missing some or all classes,
functions, or attributes) must include a top-level `__getattr__()`
function marked with an `# incomplete` comment (see example below).
function marked with an `Incomplete` return type (see example below).
* Partial packages (i.e. packages that are missing one or more sub-modules)
must have a `__init__.pyi` stub that is marked as incomplete (see above).
A better alternative is to create empty stubs for all sub-modules and