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
e418432d
Commit
e418432d
authored
Dec 04, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Plain Diff
Fixed double hyphens that are rendered to literal en-dashes in the documenation.
parents
21cf5775
29b0a268
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
15 additions
and
15 deletions
+15
-15
Doc/howto/logging-cookbook.rst
Doc/howto/logging-cookbook.rst
+2
-2
Doc/library/asyncio.rst
Doc/library/asyncio.rst
+2
-2
Doc/library/hashlib-blake2.rst
Doc/library/hashlib-blake2.rst
+1
-1
Doc/library/importlib.rst
Doc/library/importlib.rst
+2
-2
Doc/library/logging.rst
Doc/library/logging.rst
+1
-1
Doc/library/msvcrt.rst
Doc/library/msvcrt.rst
+2
-2
Doc/library/selectors.rst
Doc/library/selectors.rst
+2
-2
Doc/library/winreg.rst
Doc/library/winreg.rst
+1
-1
Doc/tutorial/stdlib2.rst
Doc/tutorial/stdlib2.rst
+2
-2
No files found.
Doc/howto/logging-cookbook.rst
View file @
e418432d
...
...
@@ -1088,7 +1088,7 @@ $-formatting to be used to build the actual "message" part which appears in the
formatted log output in place of "%(message)s" or "{message}" or "$message".
It's a little unwieldy to use the class names whenever you want to log
something, but it's quite palatable if you use an alias such as __ (double
underscore
–
not to be confused with _, the single underscore used as a
underscore
---
not to be confused with _, the single underscore used as a
synonym/alias for :func:`gettext.gettext` or its brethren).
The above classes are not included in Python, though they're easy enough to
...
...
@@ -1209,7 +1209,7 @@ do simply by adding new packages or modules and doing ::
at module level). It's probably one too many things to think about. Developers
could also add the filter to a :class:`~logging.NullHandler` attached to their
top-level logger, but this would not be invoked if an application developer
attached a handler to a lower-level library logger
–
so output from that
attached a handler to a lower-level library logger
---
so output from that
handler would not reflect the intentions of the library developer.
In Python 3.2 and later, :class:`~logging.LogRecord` creation is done through a
...
...
Doc/library/asyncio.rst
View file @
e418432d
:mod:`asyncio` -- Asynchronous I/O, event loop, coroutines and tasks
====================================================================
:mod:`asyncio` --
-
Asynchronous I/O, event loop, coroutines and tasks
====================================================================
=
.. module:: asyncio
:synopsis: Asynchronous I/O, event loop, coroutines and tasks.
...
...
Doc/library/hashlib-blake2.rst
View file @
e418432d
...
...
@@ -280,7 +280,7 @@ on the hash function used in digital signatures.
function providing less collision resistance than expected. Randomized
hashing offers the signer additional protection by reducing the likelihood
that a preparer can generate two or more messages that ultimately yield the
same hash value during the digital signature generation process
–
even if
same hash value during the digital signature generation process
---
even if
it is practical to find collisions for the hash function. However, the use
of randomized hashing may reduce the amount of security provided by a
digital signature when all portions of the message are prepared
...
...
Doc/library/importlib.rst
View file @
e418432d
:
mod
:`
importlib
`
--
The
implementation
of
:
keyword
:`
import
`
===========================================================
:
mod
:`
importlib
`
--
-
The
implementation
of
:
keyword
:`
import
`
===========================================================
=
..
module
::
importlib
:
synopsis
:
The
implementation
of
the
import
machinery
.
...
...
Doc/library/logging.rst
View file @
e418432d
...
...
@@ -561,7 +561,7 @@ The useful mapping keys in a :class:`LogRecord` are given in the section on
handled
by
a
strptime
format
string
(``
'%Y-%m-%d %H:%M:%S'
``),
and
the
part
after
the
comma
is
a
millisecond
value
.
Because
strptime
does
not
have
a
format
placeholder
for
milliseconds
,
the
millisecond
value
is
appended
using
another
format
string
,
``
'%s,%03d'
``
–
and
both
of
these
appended
using
another
format
string
,
``
'%s,%03d'
``
---
and
both
of
these
format
strings
have
been
hardcoded
into
this
method
.
With
the
change
,
these
strings
are
defined
as
class
-
level
attributes
which
can
be
overridden
at
the
instance
level
when
desired
.
The
names
of
the
...
...
Doc/library/msvcrt.rst
View file @
e418432d
:mod:`msvcrt` -- Useful routines from the MS VC++ runtime
=========================================================
:mod:`msvcrt` --
-
Useful routines from the MS VC++ runtime
=========================================================
=
.. module:: msvcrt
:platform: Windows
...
...
Doc/library/selectors.rst
View file @
e418432d
:mod:`selectors` -- High-level I/O multiplexing
===============================================
:mod:`selectors` --
-
High-level I/O multiplexing
===============================================
=
.. module:: selectors
:synopsis: High-level I/O multiplexing.
...
...
Doc/library/winreg.rst
View file @
e418432d
:mod:`winreg` -- Windows registry access
:mod:`winreg` --
-
Windows registry access
=========================================
.. module:: winreg
...
...
Doc/tutorial/stdlib2.rst
View file @
e418432d
.. _tut-brieftourtwo:
*********************************************
Brief Tour of the Standard Library -- Part II
*********************************************
Brief Tour of the Standard Library --
-
Part II
*********************************************
*
This second tour covers more advanced modules that support professional
programming needs. These modules rarely occur in small scripts.
...
...
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