Skip to content

Commit c96269c

Browse files
committed
Fix more documentation markup for translation
1 parent 534f039 commit c96269c

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎Doc/howto/functional.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ Two of Python's built-in functions, :func:`map` and :func:`filter` duplicate the
628628
features of generator expressions:
629629

630630
:func:`map(f, iterA, iterB, ...) <map>` returns an iterator over the sequence
631-
``f(iterA[0], iterB[0]), f(iterA[1], iterB[1]), f(iterA[2], iterB[2]), ...``.
631+
``f(iterA[0], iterB[0]), f(iterA[1], iterB[1]), f(iterA[2], iterB[2]), ...``.
632632

633633
>>> def upper(s):
634634
... return s.upper()

‎Doc/library/time.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ Functions
486486
| | | |
487487
+-----------+------------------------------------------------+-------+
488488
| ``%f`` | Microseconds as a decimal number | \(1) |
489-
| | [000000,999999]. | |
489+
| | [000000,999999]. | |
490490
| | | |
491491
+-----------+------------------------------------------------+-------+
492492
| ``%H`` | Hour (24-hour clock) as a decimal number | |

‎Doc/library/unittest.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ Test cases
10011001
| <TestCase.assertLogs>` | with minimum *level* | |
10021002
+---------------------------------------------------------+--------------------------------------+------------+
10031003
| :meth:`assertNoLogs(logger, level) | The ``with`` block does not log on | 3.10 |
1004-
| <TestCase.assertNoLogs>` | *logger* with minimum *level* | |
1004+
| <TestCase.assertNoLogs>` | *logger* with minimum *level* | |
10051005
+---------------------------------------------------------+--------------------------------------+------------+
10061006

10071007
.. method:: assertRaises(exception, callable, *args, **kwds)

‎Doc/library/xml.etree.elementtree.rst‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -561,13 +561,13 @@ Functions
561561

562562
- *with_comments*: set to true to include comments (default: false)
563563
- *strip_text*: set to true to strip whitespace before and after text content
564-
(default: false)
564+
(default: false)
565565
- *rewrite_prefixes*: set to true to replace namespace prefixes by "n{number}"
566-
(default: false)
566+
(default: false)
567567
- *qname_aware_tags*: a set of qname aware tag names in which prefixes
568-
should be replaced in text content (default: empty)
568+
should be replaced in text content (default: empty)
569569
- *qname_aware_attrs*: a set of qname aware attribute names in which prefixes
570-
should be replaced in text content (default: empty)
570+
should be replaced in text content (default: empty)
571571
- *exclude_attrs*: a set of attribute names that should not be serialised
572572
- *exclude_tags*: a set of tag names that should not be serialised
573573

‎Doc/whatsnew/2.2.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ code, none of the changes described here will affect you very much.
10821082
* Rename :c:macro:`!Py_TPFLAGS_GC` to :c:macro:`Py_TPFLAGS_HAVE_GC`.
10831083

10841084
* Use :c:func:`PyObject_GC_New` or :c:func:`PyObject_GC_NewVar` to allocate
1085-
objects, and :c:func:`PyObject_GC_Del` to deallocate them.
1085+
objects, and :c:func:`PyObject_GC_Del` to deallocate them.
10861086

10871087
* Rename :c:func:`!PyObject_GC_Init` to :c:func:`PyObject_GC_Track` and
10881088
:c:func:`!PyObject_GC_Fini` to :c:func:`PyObject_GC_UnTrack`.

‎Doc/whatsnew/2.4.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,8 +1015,8 @@ complete list of changes, or look through the CVS logs for all the details.
10151015
* Chinese (ROC): big5, cp950
10161016

10171017
* Japanese: cp932, euc-jis-2004, euc-jp, euc-jisx0213, iso-2022-jp,
1018-
iso-2022-jp-1, iso-2022-jp-2, iso-2022-jp-3, iso-2022-jp-ext, iso-2022-jp-2004,
1019-
shift-jis, shift-jisx0213, shift-jis-2004
1018+
iso-2022-jp-1, iso-2022-jp-2, iso-2022-jp-3, iso-2022-jp-ext, iso-2022-jp-2004,
1019+
shift-jis, shift-jisx0213, shift-jis-2004
10201020

10211021
* Korean: cp949, euc-kr, johab, iso-2022-kr
10221022

0 commit comments

Comments
 (0)