File tree 1 file changed +0
-7
lines changed 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -446,9 +446,6 @@ instance of the :class:`bytes` type instead of the :class:`str` type. They
446
446
may only contain ASCII characters; bytes with a numeric value of 128 or greater
447
447
must be expressed with escapes.
448
448
449
- As of Python 3.3 it is possible again to prefix string literals with a
450
- ``u `` prefix to simplify maintenance of dual 2.x and 3.x codebases.
451
-
452
449
Both string and bytes literals may optionally be prefixed with a letter ``'r' ``
453
450
or ``'R' ``; such strings are called :dfn: `raw strings ` and treat backslashes as
454
451
literal characters. As a result, in string literals, ``'\U' `` and ``'\u' ``
@@ -799,10 +796,6 @@ Some examples of floating point literals::
799
796
800
797
3.14 10. .001 1e100 3.14e-10 0e0 3.14_15_93
801
798
802
- Note that numeric literals do not include a sign; a phrase like ``-1 `` is
803
- actually an expression composed of the unary operator ``- `` and the literal
804
- ``1 ``.
805
-
806
799
.. versionchanged :: 3.6
807
800
Underscores are now allowed for grouping purposes in literals.
808
801
You can’t perform that action at this time.
0 commit comments