[Python-checkins] Fix typo in _warnings.warn_explicit() docstring (GH-16625)

Miss Islington (bot) webhook-mailer at python.org
Tue Oct 8 05:16:10 EDT 2019


https://github.com/python/cpython/commit/aa9d5b8ec33fd647ed9a0fe113e60ff826bea49a
commit: aa9d5b8ec33fd647ed9a0fe113e60ff826bea49a
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-10-08T02:16:06-07:00
summary:

Fix typo in _warnings.warn_explicit() docstring (GH-16625)

(cherry picked from commit 5dfbb4d50333e7a91fc0cd8c03a2f2f2cf56dbd9)

Co-authored-by: Hansraj Das <raj.das.136 at gmail.com>

files:
M Python/_warnings.c

diff --git a/Python/_warnings.c b/Python/_warnings.c
index 0b192580e1073..e02d28305126d 100644
--- a/Python/_warnings.c
+++ b/Python/_warnings.c
@@ -1305,7 +1305,7 @@ _PyErr_WarnUnawaitedCoroutine(PyObject *coro)
 }
 
 PyDoc_STRVAR(warn_explicit_doc,
-"Low-level inferface to warnings functionality.");
+"Low-level interface to warnings functionality.");
 
 static PyMethodDef warnings_functions[] = {
     WARNINGS_WARN_METHODDEF



More information about the Python-checkins mailing list