FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-156233: Fix typos and code snippet errors in the docs (GH-156475) by miss-islington · Pull Request #157222 · python/cpython · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (4) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
2 changes: 1 addition & 1 deletion Doc/howto/logging-cookbook.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -3912,7 +3912,7 @@ subclassed handler which looks something like this::

You'll need to be familiar with RFC 5424 to fully understand the above code, and it
may be that you have slightly different needs (e.g. for how you pass structural data
to the log). Nevertheless, the above should be adaptable to your speciric needs. With
to the log). Nevertheless, the above should be adaptable to your specific needs. With
the above handler, you'd pass structured data using something like this::

sd = {
Expand Down
2 changes: 1 addition & 1 deletion Doc/howto/mro.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ prescription:
the tail of any of the other lists, then add it to the linearization
of C and remove it from the lists in the merge, otherwise look at the
head of the next list and take it, if it is a good head. Then repeat
the operation until all the class are removed or it is impossible to
the operation until all the classes are removed or it is impossible to
find good heads. In this case, it is impossible to construct the
merge, Python 2.3 will refuse to create the class C and will raise an
exception.*
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/logging.config.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ following configuration::
'bar' : 'baz',
'spam' : 99.9,
'answer' : 42,
'.' {
'.' : {
'foo': 'bar',
'baz': 'bozz'
}
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/pdb.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ can be overridden by the local file.
def inner(x):
1 / x

out()
out()

calling ``pdb.pm()`` will allow to move between exceptions::

Expand Down
Loading

Back | FazBrowse Home | New Git URL