Skip to content

Commit 80a7017

Browse files
Fix typos in Doc/extending/extending.rst and Doc/library/shelve.rst (GH-136890)
1 parent fac4964 commit 80a7017

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/extending/extending.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ and initialize it by calling :c:func:`PyErr_NewException` in the module's
214214

215215
SpamError = PyErr_NewException("spam.error", NULL, NULL);
216216

217-
Since :c:data:`!SpamError` is a global variable, it will be overwitten every time
217+
Since :c:data:`!SpamError` is a global variable, it will be overwritten every time
218218
the module is reinitialized, when the :c:data:`Py_mod_exec` function is called.
219219

220220
For now, let's avoid the issue: we will block repeated initialization by raising an

Doc/library/shelve.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Restrictions
144144
which can cause hard crashes when trying to read from the database.
145145

146146
* :meth:`Shelf.reorganize` may not be available for all database packages and
147-
may temporarely increase resource usage (especially disk space) when called.
147+
may temporarily increase resource usage (especially disk space) when called.
148148
Additionally, it will never run automatically and instead needs to be called
149149
explicitly.
150150

0 commit comments

Comments
 (0)