mirror of https://github.com/python/cpython
Remove markup from docstring
This commit is contained in:
parent
0d8b4e33e7
commit
3a1dbb05a1
|
@ -90,10 +90,10 @@ def nested(*managers):
|
||||||
"""Combine multiple context managers into a single nested context manager.
|
"""Combine multiple context managers into a single nested context manager.
|
||||||
|
|
||||||
This function has been deprecated in favour of the multiple manager form
|
This function has been deprecated in favour of the multiple manager form
|
||||||
of the :keyword:`with` statement.
|
of the with statement.
|
||||||
|
|
||||||
The one advantage of this function over the multiple manager form of the
|
The one advantage of this function over the multiple manager form of the
|
||||||
:keyword:`with` statement is that argument unpacking allows it to be
|
with statement is that argument unpacking allows it to be
|
||||||
used with a variable number of context managers as follows:
|
used with a variable number of context managers as follows:
|
||||||
|
|
||||||
with nested(*managers):
|
with nested(*managers):
|
||||||
|
|
Loading…
Reference in New Issue