Patch #1627052 (backticks in PEP3099).
This commit is contained in:
parent
f4b919f80b
commit
feee717f0b
11
pep-3099.txt
11
pep-3099.txt
|
@ -120,6 +120,17 @@ Core language
|
||||||
list. Do ``from __future__ import braces`` to get a definitive
|
list. Do ``from __future__ import braces`` to get a definitive
|
||||||
answer on this subject.
|
answer on this subject.
|
||||||
|
|
||||||
|
* No more backticks.
|
||||||
|
|
||||||
|
Backticks (\`) will no longer be used as shorthand for ``repr`` --
|
||||||
|
but that doesn't mean they are available for other uses. Even
|
||||||
|
ignoring the backwards compatibility confusion, the character
|
||||||
|
itself causes too many problems (in some fonts, on some keyboards,
|
||||||
|
when typesetting a book, etc).
|
||||||
|
|
||||||
|
Thread: "new operators via backquoting",
|
||||||
|
http://mail.python.org/pipermail/python-ideas/2007-January/000054.html
|
||||||
|
|
||||||
* Referencing the global name ``foo`` will not be spelled ``globals.foo``.
|
* Referencing the global name ``foo`` will not be spelled ``globals.foo``.
|
||||||
The ``global`` statement will stay.
|
The ``global`` statement will stay.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue