mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08:00
continue now allowed in try block
This commit is contained in:
parent
3faa52ecc4
commit
0072d5aa33
@ -58,6 +58,10 @@ Core language, builtins, and interpreter
|
|||||||
includes support for "explicit" weak references, proxy objects, and
|
includes support for "explicit" weak references, proxy objects, and
|
||||||
mappings with weakly held values.
|
mappings with weakly held values.
|
||||||
|
|
||||||
|
- A 'continue' statement can now appear in a try block within the body
|
||||||
|
of a loop. It is still not possible to use continue in a finally
|
||||||
|
clause.
|
||||||
|
|
||||||
Standard library
|
Standard library
|
||||||
|
|
||||||
- mailbox.py now has a new class, PortableUnixMailbox which is
|
- mailbox.py now has a new class, PortableUnixMailbox which is
|
||||||
|
Loading…
Reference in New Issue
Block a user