From fa75fd655698c9847b397d68f6ed2d0a35a09f99 Mon Sep 17 00:00:00 2001 From: Steve C Date: Thu, 10 Nov 2022 20:51:04 -0500 Subject: [PATCH] Fix typo `in` -> `is`, in typed-libraries.md (#4180) --- docs/typed-libraries.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/typed-libraries.md b/docs/typed-libraries.md index 5877a7739..47139e4da 100644 --- a/docs/typed-libraries.md +++ b/docs/typed-libraries.md @@ -25,7 +25,7 @@ In many existing type stubs (such as those found in typeshed), default parameter ## Library Interface [PEP 561](https://www.python.org/dev/peps/pep-0561/) indicates that a “py.typed” marker file must be included in the package if the author wishes to support type checking of their code. -If a “py.typed” module is present, a type checker will treat all modules within that package (i.e. all files that end in “.py” or “.pyi”) as importable unless the module is marked private. There are two ways to mark a module private: (1) the module's filename begins with an underscore; (2) the module in inside a sub-package marked private. For example: +If a “py.typed” module is present, a type checker will treat all modules within that package (i.e. all files that end in “.py” or “.pyi”) as importable unless the module is marked private. There are two ways to mark a module private: (1) the module's filename begins with an underscore; (2) the module is inside a sub-package marked private. For example: * foo._bar (_bar is private) * foo._bar.baz (_bar and baz are private)