Skip to content

Commit ad9ab63

Browse files
committed
Shorten 1+2j
1 parent 077448e commit ad9ab63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/reference/lexical_analysis.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -935,8 +935,8 @@ Note that numeric literals do not include a sign; a phrase like ``-1`` is
935935
actually an expression composed of the unary operator '``-``' and the literal
936936
``1``.
937937

938-
Similarly, there are no complex literals; a phrase like ``1+2j`` is an
939-
expression composed by the :ref:`integer literal <integers>` ``1``,
938+
Similarly, there are no complex literals; the expression ``1+2j`` is composed
939+
of the :ref:`integer literal <integers>` ``1``,
940940
the :ref:`operator <operators>` '``+``',
941941
and the :ref:`imaginary literal <imaginary>` ``2j``.
942942

0 commit comments

Comments
 (0)