cpython: 4f24641cd030 (original) (raw)

Mercurial > cpython

changeset 105397:4f24641cd030 2.7

Issue #28820: Fix spelling of “practice” as a noun [#28820]

Martin Panter vadmium+py@gmail.com
date Wed, 30 Nov 2016 10🔞45 +0000
parents fd0842f34602
children 83e3c863594c
files Doc/howto/urllib2.rst Doc/tutorial/modules.rst Mac/Modules/cg/CFMLateImport.c
diffstat 3 files changed, 3 insertions(+), 3 deletions(-)[+] [-] Doc/howto/urllib2.rst 2 Doc/tutorial/modules.rst 2 Mac/Modules/cg/CFMLateImport.c 2

line wrap: on

line diff

--- a/Doc/howto/urllib2.rst +++ b/Doc/howto/urllib2.rst @@ -567,7 +567,7 @@ This document was reviewed and revised b .. [#] For an introduction to the CGI protocol see Writing Web Applications in Python <http://www.pyzine.com/Issue008/Section_Articles/article_CGIOne.html>_. .. [#] 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

--- a/Doc/tutorial/modules.rst +++ b/Doc/tutorial/modules.rst @@ -496,7 +496,7 @@ when the from...import statement is __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

--- a/Mac/Modules/cg/CFMLateImport.c +++ b/Mac/Modules/cg/CFMLateImport.c @@ -894,7 +894,7 @@ static OSStatus RunRelocationEngine(cons MoreAssertQ(fragToFix->sectionHeaders != nil); MoreAssertQ(fragToFix->loaderSection != nil); MoreAssertQ(fragToFix->section0Base != nil); // Technically, having a nil for these two is not a problem, ...