Commit e4f0f40e authored by Ned Deily's avatar Ned Deily

Issue #18452: fix several "occurrence" typos (reported by Févry Thibault).

parent b985546c
...@@ -468,7 +468,7 @@ verbosity argument (check the output of ``python --help``):: ...@@ -468,7 +468,7 @@ verbosity argument (check the output of ``python --help``)::
print answer print answer
We have introduced another action, "count", We have introduced another action, "count",
to count the number of occurences of a specific optional arguments: to count the number of occurrences of a specific optional arguments:
.. code-block:: sh .. code-block:: sh
......
...@@ -743,10 +743,10 @@ are sequences of the same type; *n*, *i* and *j* are integers: ...@@ -743,10 +743,10 @@ are sequences of the same type; *n*, *i* and *j* are integers:
+------------------+--------------------------------+----------+ +------------------+--------------------------------+----------+
| ``max(s)`` | largest item of *s* | | | ``max(s)`` | largest item of *s* | |
+------------------+--------------------------------+----------+ +------------------+--------------------------------+----------+
| ``s.index(i)`` | index of the first occurence | | | ``s.index(i)`` | index of the first occurrence | |
| | of *i* in *s* | | | | of *i* in *s* | |
+------------------+--------------------------------+----------+ +------------------+--------------------------------+----------+
| ``s.count(i)`` | total number of occurences of | | | ``s.count(i)`` | total number of occurrences of | |
| | *i* in *s* | | | | *i* in *s* | |
+------------------+--------------------------------+----------+ +------------------+--------------------------------+----------+
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment