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
072d9b03
Commit
072d9b03
authored
Jul 14, 2013
by
Ned Deily
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #18452: fix several "occurrence" typos (reported by Févry Thibault).
parent
c420d125
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
Doc/howto/argparse.rst
Doc/howto/argparse.rst
+1
-1
Doc/library/configparser.rst
Doc/library/configparser.rst
+1
-1
Doc/library/stdtypes.rst
Doc/library/stdtypes.rst
+2
-2
No files found.
Doc/howto/argparse.rst
View file @
072d9b03
...
...
@@ -468,7 +468,7 @@ verbosity argument (check the output of ``python --help``)::
print(answer)
We have introduced another action, "count",
to count the number of occurences of a specific optional arguments:
to count the number of occur
r
ences of a specific optional arguments:
.. code-block:: sh
...
...
Doc/library/configparser.rst
View file @
072d9b03
...
...
@@ -539,7 +539,7 @@ the :meth:`__init__` options:
* *delimiters*, default value: ``('=', ':')``
Delimiters are substrings that delimit keys from values within a section. The
first occurence of a delimiting substring on a line is considered a delimiter.
first occur
r
ence of a delimiting substring on a line is considered a delimiter.
This means values (but not keys) can contain the delimiters.
See also the *space_around_delimiters* argument to
...
...
Doc/library/stdtypes.rst
View file @
072d9b03
...
...
@@ -871,11 +871,11 @@ operations have the same priority as the corresponding numeric operations.
+--------------------------+--------------------------------+----------+
| ``max(s)`` | largest item of *s* | |
+--------------------------+--------------------------------+----------+
| ``s.index(x[, i[, j]])`` | index of the first occur
ence
| \(8) |
| ``s.index(x[, i[, j]])`` | index of the first occur
rence
| \(8) |
| | of *x* in *s* (at or after | |
| | index *i* and before index *j*)| |
+--------------------------+--------------------------------+----------+
| ``s.count(x)`` | total number of occur
ences of
| |
| ``s.count(x)`` | total number of occur
rences of
| |
| | *x* in *s* | |
+--------------------------+--------------------------------+----------+
...
...
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