Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
271818fe
Commit
271818fe
authored
Sep 14, 2018
by
Andrés Delfino
Committed by
Petr Viktorin
Sep 14, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix "Python" casing in a few places (GH-9001)
parent
c9d66f0e
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
16 additions
and
16 deletions
+16
-16
Doc/howto/descriptor.rst
Doc/howto/descriptor.rst
+2
-2
Doc/howto/instrumentation.rst
Doc/howto/instrumentation.rst
+2
-2
Doc/library/email.compat32-message.rst
Doc/library/email.compat32-message.rst
+1
-1
Doc/library/idle.rst
Doc/library/idle.rst
+1
-1
Doc/library/imaplib.rst
Doc/library/imaplib.rst
+1
-1
Doc/library/inspect.rst
Doc/library/inspect.rst
+1
-1
Doc/library/pyclbr.rst
Doc/library/pyclbr.rst
+2
-2
Doc/library/syslog.rst
Doc/library/syslog.rst
+1
-1
Doc/library/test.rst
Doc/library/test.rst
+1
-1
Doc/library/unittest.mock-examples.rst
Doc/library/unittest.mock-examples.rst
+1
-1
Doc/library/unittest.mock.rst
Doc/library/unittest.mock.rst
+1
-1
Doc/library/zipapp.rst
Doc/library/zipapp.rst
+2
-2
No files found.
Doc/howto/descriptor.rst
View file @
271818fe
...
@@ -11,7 +11,7 @@ Abstract
...
@@ -11,7 +11,7 @@ Abstract
--------
--------
Defines descriptors, summarizes the protocol, and shows how descriptors are
Defines descriptors, summarizes the protocol, and shows how descriptors are
called. Examines a custom descriptor and several built-in
p
ython descriptors
called. Examines a custom descriptor and several built-in
P
ython descriptors
including functions, properties, static methods, and class methods. Shows how
including functions, properties, static methods, and class methods. Shows how
each works by giving a pure Python equivalent and a sample application.
each works by giving a pure Python equivalent and a sample application.
...
@@ -275,7 +275,7 @@ variable name.
...
@@ -275,7 +275,7 @@ variable name.
To support method calls, functions include the :meth:`__get__` method for
To support method calls, functions include the :meth:`__get__` method for
binding methods during attribute access. This means that all functions are
binding methods during attribute access. This means that all functions are
non-data descriptors which return bound methods when they are invoked from an
non-data descriptors which return bound methods when they are invoked from an
object. In pure
p
ython, it works like this::
object. In pure
P
ython, it works like this::
class Function(object):
class Function(object):
. . .
. . .
...
...
Doc/howto/instrumentation.rst
View file @
271818fe
...
@@ -369,13 +369,13 @@ available:
...
@@ -369,13 +369,13 @@ available:
.. c:function:: python.function.entry(str filename, str funcname, int lineno, frameptr)
.. c:function:: python.function.entry(str filename, str funcname, int lineno, frameptr)
This probe point indicates that execution of a Python function has begun.
This probe point indicates that execution of a Python function has begun.
It is only triggered for pure-
p
ython (bytecode) functions.
It is only triggered for pure-
P
ython (bytecode) functions.
.. c:function:: python.function.return(str filename, str funcname, int lineno, frameptr)
.. c:function:: python.function.return(str filename, str funcname, int lineno, frameptr)
This probe point is the converse of :c:func:`python.function.return`, and
This probe point is the converse of :c:func:`python.function.return`, and
indicates that execution of a Python function has ended (either via
indicates that execution of a Python function has ended (either via
``return``, or via an exception). It is only triggered for pure-
p
ython
``return``, or via an exception). It is only triggered for pure-
P
ython
(bytecode) functions.
(bytecode) functions.
...
...
Doc/library/email.compat32-message.rst
View file @
271818fe
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
.. module:: email.message
.. module:: email.message
:synopsis: The base class representing email messages in a fashion
:synopsis: The base class representing email messages in a fashion
backward compatible with
python
3.2
backward compatible with
Python
3.2
The :class:`Message` class is very similar to the
The :class:`Message` class is very similar to the
...
...
Doc/library/idle.rst
View file @
271818fe
...
@@ -303,7 +303,7 @@ Python Docs
...
@@ -303,7 +303,7 @@ Python Docs
and open docs.python.org showing the latest Python documentation.
and open docs.python.org showing the latest Python documentation.
Turtle Demo
Turtle Demo
Run the turtledemo module with example
p
ython code and turtle drawings.
Run the turtledemo module with example
P
ython code and turtle drawings.
Additional help sources may be added here with the Configure IDLE dialog under
Additional help sources may be added here with the Configure IDLE dialog under
the General tab.
the General tab.
...
...
Doc/library/imaplib.rst
View file @
271818fe
...
@@ -517,7 +517,7 @@ An :class:`IMAP4` instance has the following methods:
...
@@ -517,7 +517,7 @@ An :class:`IMAP4` instance has the following methods:
create such tags. Although it is an RFC violation and IMAP clients and
create such tags. Although it is an RFC violation and IMAP clients and
servers are supposed to be strict, imaplib nonetheless continues to allow
servers are supposed to be strict, imaplib nonetheless continues to allow
such tags to be created for backward compatibility reasons, and as of
such tags to be created for backward compatibility reasons, and as of
p
ython 3.6, handles them if they are sent from the server, since this
P
ython 3.6, handles them if they are sent from the server, since this
improves real-world compatibility.
improves real-world compatibility.
.. method:: IMAP4.subscribe(mailbox)
.. method:: IMAP4.subscribe(mailbox)
...
...
Doc/library/inspect.rst
View file @
271818fe
...
@@ -557,7 +557,7 @@ function.
...
@@ -557,7 +557,7 @@ function.
>>> sig.parameters['b'].annotation
>>> sig.parameters['b'].annotation
<class 'int'>
<class 'int'>
Accepts a wide range of
p
ython callables, from plain functions and classes to
Accepts a wide range of
P
ython callables, from plain functions and classes to
:func:`functools.partial` objects.
:func:`functools.partial` objects.
Raises :exc:`ValueError` if no signature can be provided, and
Raises :exc:`ValueError` if no signature can be provided, and
...
...
Doc/library/pyclbr.rst
View file @
271818fe
...
@@ -11,9 +11,9 @@
...
@@ -11,9 +11,9 @@
--------------
--------------
The :mod:`pyclbr` module provides limited information about the
The :mod:`pyclbr` module provides limited information about the
functions, classes, and methods defined in a
p
ython-coded module. The
functions, classes, and methods defined in a
P
ython-coded module. The
information is sufficient to implement a module browser. The
information is sufficient to implement a module browser. The
information is extracted from the
p
ython source code rather than by
information is extracted from the
P
ython source code rather than by
importing the module, so this module is safe to use with untrusted code.
importing the module, so this module is safe to use with untrusted code.
This restriction makes it impossible to use this module with modules not
This restriction makes it impossible to use this module with modules not
implemented in Python, including all standard and optional extension
implemented in Python, including all standard and optional extension
...
...
Doc/library/syslog.rst
View file @
271818fe
...
@@ -48,7 +48,7 @@ The module defines the following functions:
...
@@ -48,7 +48,7 @@ The module defines the following functions:
.. versionchanged:: 3.2
.. versionchanged:: 3.2
In previous versions, keyword arguments were not allowed, and *ident* was
In previous versions, keyword arguments were not allowed, and *ident* was
required. The default for *ident* was dependent on the system libraries,
required. The default for *ident* was dependent on the system libraries,
and often was ``python`` instead of the name of the
p
ython program file.
and often was ``python`` instead of the name of the
P
ython program file.
.. function:: closelog()
.. function:: closelog()
...
...
Doc/library/test.rst
View file @
271818fe
...
@@ -1076,7 +1076,7 @@ The :mod:`test.support` module defines the following functions:
...
@@ -1076,7 +1076,7 @@ The :mod:`test.support` module defines the following functions:
Either this method or :func:`bind_port` should be used for any tests
Either this method or :func:`bind_port` should be used for any tests
where a server socket needs to be bound to a particular port for the
where a server socket needs to be bound to a particular port for the
duration of the test.
duration of the test.
Which one to use depends on whether the calling code is creating a
p
ython
Which one to use depends on whether the calling code is creating a
P
ython
socket, or if an unused port needs to be provided in a constructor
socket, or if an unused port needs to be provided in a constructor
or passed to an external program (i.e. the ``-accept`` argument to
or passed to an external program (i.e. the ``-accept`` argument to
openssl's s_server mode). Always prefer :func:`bind_port` over
openssl's s_server mode). Always prefer :func:`bind_port` over
...
...
Doc/library/unittest.mock-examples.rst
View file @
271818fe
...
@@ -392,7 +392,7 @@ You can stack up multiple patch decorators using this pattern:
...
@@ -392,7 +392,7 @@ You can stack up multiple patch decorators using this pattern:
>>> MyTest('test_something').test_something()
>>> MyTest('test_something').test_something()
When you nest patch decorators the mocks are passed in to the decorated
When you nest patch decorators the mocks are passed in to the decorated
function in the same order they applied (the normal *
p
ython* order that
function in the same order they applied (the normal *
P
ython* order that
decorators are applied). This means from the bottom up, so in the example
decorators are applied). This means from the bottom up, so in the example
above the mock for ``test_module.ClassName2`` is passed in first.
above the mock for ``test_module.ClassName2`` is passed in first.
...
...
Doc/library/unittest.mock.rst
View file @
271818fe
...
@@ -98,7 +98,7 @@ mock (or other object) during the test and restored when the test ends:
...
@@ -98,7 +98,7 @@ mock (or other object) during the test and restored when the test ends:
.. note::
.. note::
When you nest patch decorators the mocks are passed in to the decorated
When you nest patch decorators the mocks are passed in to the decorated
function in the same order they applied (the normal *
p
ython* order that
function in the same order they applied (the normal *
P
ython* order that
decorators are applied). This means from the bottom up, so in the example
decorators are applied). This means from the bottom up, so in the example
above the mock for ``module.ClassName1`` is passed in first.
above the mock for ``module.ClassName1`` is passed in first.
...
...
Doc/library/zipapp.rst
View file @
271818fe
:
mod
:`
zipapp
`
---
Manage
executable
p
ython
zip
archives
:
mod
:`
zipapp
`
---
Manage
executable
P
ython
zip
archives
=======================================================
=======================================================
..
module
::
zipapp
..
module
::
zipapp
:
synopsis
:
Manage
executable
p
ython
zip
archives
:
synopsis
:
Manage
executable
P
ython
zip
archives
..
versionadded
::
3.5
..
versionadded
::
3.5
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment