From 898573a734bd24716468faf2b99e47d3676c0c03 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Sat, 10 Dec 2016 05:12:56 +0000 Subject: =?UTF-8?q?Issue=20#28820:=20Fix=20spelling=20of=20=E2=80=9Cpracti?= =?UTF-8?q?ce=E2=80=9D=20as=20a=20noun?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Doc/howto/urllib2.rst | 2 +- Doc/tutorial/modules.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst index 712b4b7..18b5c65 100644 --- a/Doc/howto/urllib2.rst +++ b/Doc/howto/urllib2.rst @@ -578,7 +578,7 @@ Footnotes This document was reviewed and revised by John Lee. .. [#] Google for example. -.. [#] Browser sniffing is a very bad practise for website design - building +.. [#] Browser sniffing is a very bad practice for website design - building sites using web standards is much more sensible. Unfortunately a lot of sites still send different versions to different browsers. .. [#] The user agent for MSIE 6 is diff --git a/Doc/tutorial/modules.rst b/Doc/tutorial/modules.rst index 35db305..1e3d5c0 100644 --- a/Doc/tutorial/modules.rst +++ b/Doc/tutorial/modules.rst @@ -501,7 +501,7 @@ when the ``from...import`` statement is executed. (This also works when ``__all__`` is defined.) Although certain modules are designed to export only names that follow certain -patterns when you use ``import *``, it is still considered bad practise in +patterns when you use ``import *``, it is still considered bad practice in production code. Remember, there is nothing wrong with using ``from Package import -- cgit v0.12 From 186b204997166932fec475ed08bcb324ae102a30 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Sat, 10 Dec 2016 05:32:55 +0000 Subject: Fix typos in comment and documentation --- Doc/library/re.rst | 2 +- Objects/abstract.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/re.rst b/Doc/library/re.rst index a298d97..7ef4cbe 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -762,7 +762,7 @@ form. now are errors. .. deprecated-removed:: 3.5 3.7 - Unknown escapes in *repl* consist of ``'\'`` and ASCII letter now raise + Unknown escapes in *repl* consisting of ``'\'`` and an ASCII letter now raise a deprecation warning and will be forbidden in Python 3.7. diff --git a/Objects/abstract.c b/Objects/abstract.c index f9afece..d838856 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -2325,7 +2325,7 @@ exit: return result; } -/* Positional arguments are obj followed args. */ +/* Positional arguments are obj followed by args. */ PyObject * _PyObject_Call_Prepend(PyObject *func, PyObject *obj, PyObject *args, PyObject *kwargs) -- cgit v0.12