Skip to content

Commit 0664473

Browse files
authored
Fix grammar typos (#15324)
1 parent 84c2067 commit 0664473

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ there represents a PyPI distribution, and contains the following:
134134
source distribution.
135135
* (Rarely) some docs specific to a given type stub package in `README` file.
136136

137-
When a third party stub is added or
137+
When a third-party stub is added or
138138
modified, an updated version of the corresponding distribution will be
139139
automatically uploaded to PyPI within a few hours.
140140
Each time this happens the least significant
@@ -186,7 +186,7 @@ supported:
186186
stubs for other reasons than the upstream library shipping with type
187187
information.
188188
* `upload` (optional): This field is set to `false` to prevent automatic
189-
uploads to PyPI. This should only used in special cases, e.g. when the stubs
189+
uploads to PyPI. This should only be used in special cases, e.g. when the stubs
190190
break the upload.
191191
* `partial_stub` (optional): This field marks the type stub package as
192192
[partial](https://peps.python.org/pep-0561/#partial-stub-packages). This is for

stdlib/_typeshed/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Utility types for typeshed
22

3-
This package and its submodules contains various common types used by
3+
This package and its submodules contain various common types used by
44
typeshed. It can also be used by packages outside typeshed, but beware
55
the API stability guarantees below.
66

tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ This test compares the stdlib stubs against the objects at runtime. Because of
110110
this, the output depends on which version of Python and on what kind of system
111111
it is run.
112112
As such, if you run this test locally, it may complain about system-specific
113-
differences (in e.g, `socket`) that the type system cannot capture or our stubtest settings
113+
differences (in e.g., `socket`) that the type system cannot capture or our stubtest settings
114114
in CI do not account for. If you run into this issue, consider opening a draft PR and letting CI
115115
test it automatically (or
116116
[running the test via Github Actions](https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow#running-a-workflow)

tests/REGRESSION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ diagnostics.
5858
Many test cases also make use of
5959
[`assert_type`](https://docs.python.org/3.11/library/typing.html#typing.assert_type),
6060
a function which allows us to test whether a type checker's inferred type of an
61-
expression is what we'd like it be.
61+
expression is what we'd like it to be.
6262

6363
Finally, some tests make use of `# type: ignore` comments (in combination with
6464
mypy's

0 commit comments

Comments
 (0)