This commit is contained in:
Georg Brandl 2008-12-04 18:19:41 +00:00
parent b159008a54
commit a2361d908e

View file

@ -383,10 +383,11 @@ New Syntax
* New octal literals, e.g. ``0o720`` (already in 2.6). The old octal
literals (``0720``) are gone.
* New binary literals, e.g. ``0b1010`` (already in 2.6).
* New binary literals, e.g. ``0b1010`` (already in 2.6), and
there is a new corresponding builtin function, :func:`bin`.
* Bytes literals are introduced with a leading ``b`` or ``B``, and
there is a new corresponding builtin function, :func:`bin`.
there is a new corresponding builtin function, :func:`bytes`.
Changed Syntax
--------------