summaryrefslogtreecommitdiffstats
path: root/Doc/howto/descriptor.rst
diff options
context:
space:
mode:
authorAndrés Delfino <adelfino@gmail.com>2018-09-14 17:13:09 (GMT)
committerPetr Viktorin <encukou@gmail.com>2018-09-14 17:13:09 (GMT)
commit271818fe279df5ab292789f97c3a52c477bd8f13 (patch)
treed53219504a31b64f3f90917577cada08b7bff1cf /Doc/howto/descriptor.rst
parentc9d66f0ed4f07b9d184d22abbfdd4c3c8e2702df (diff)
downloadcpython-271818fe279df5ab292789f97c3a52c477bd8f13.zip
cpython-271818fe279df5ab292789f97c3a52c477bd8f13.tar.gz
cpython-271818fe279df5ab292789f97c3a52c477bd8f13.tar.bz2
Fix "Python" casing in a few places (GH-9001)
Diffstat (limited to 'Doc/howto/descriptor.rst')
-rw-r--r--Doc/howto/descriptor.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst
index 7b00d94..672324b 100644
--- a/Doc/howto/descriptor.rst
+++ b/Doc/howto/descriptor.rst
@@ -11,7 +11,7 @@ Abstract
--------
Defines descriptors, summarizes the protocol, and shows how descriptors are
-called. Examines a custom descriptor and several built-in python descriptors
+called. Examines a custom descriptor and several built-in Python descriptors
including functions, properties, static methods, and class methods. Shows how
each works by giving a pure Python equivalent and a sample application.
@@ -275,7 +275,7 @@ variable name.
To support method calls, functions include the :meth:`__get__` method for
binding methods during attribute access. This means that all functions are
non-data descriptors which return bound methods when they are invoked from an
-object. In pure python, it works like this::
+object. In pure Python, it works like this::
class Function(object):
. . .