pep-0492: Reword DocumentLS.async deprecation section
This commit is contained in:
parent
6d2ded2b90
commit
384743cdef
11
pep-0492.txt
11
pep-0492.txt
|
@ -852,11 +852,12 @@ renaming ``async()`` function to ``ensure_future()`` (see `asyncio`_
|
||||||
section for details.)
|
section for details.)
|
||||||
|
|
||||||
Another use of ``async`` keyword is in ``Lib/xml/dom/xmlbuilder.py``,
|
Another use of ``async`` keyword is in ``Lib/xml/dom/xmlbuilder.py``,
|
||||||
class ``DocumentLS``. ``async`` property is not documented, not
|
to define an ``async = False`` attribute for ``DocumentLS`` class.
|
||||||
tested, and is not used anywhere. Methods that were likely supposed to
|
There is no documentation or tests for it, it is not used anywhere else
|
||||||
work with it -- ``_set_async()`` and ``_get_async()`` -- are not used
|
in CPython. It is replaced with a getter, that raises a
|
||||||
anywhere either. These methods will be deprecated in 3.5 and removed
|
``DeprecationWarning``, advising to use ``async_`` attribute instead.
|
||||||
in 3.6.
|
'async' attribute is not documented and is not used in CPython code
|
||||||
|
base.
|
||||||
|
|
||||||
|
|
||||||
Grammar Updates
|
Grammar Updates
|
||||||
|
|
Loading…
Reference in New Issue