From 208c09044cdc8fad5d448459b450902b13c22dd7 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sun, 16 Oct 2022 12:51:07 +0300 Subject: [PATCH] Fix `incomplete` stubs wording in `CONTRIBUTING.md` (#8906) --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 615ebeb4d..36d67c31e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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