Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 892051a

Browse files
committed
fix issue #6916: undocument deprecated asynchat.fifo class.q
1 parent f8e9ba0 commit 892051a

2 files changed

Lines changed: 2 additions & 34 deletions

File tree

Doc/library/asynchat.rst

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -147,40 +147,6 @@ connection requests.
147147
by the channel after :meth:`found_terminator` is called.
148148

149149

150-
asynchat - Auxiliary Classes
151-
------------------------------------------
152-
153-
.. class:: fifo(list=None)
154-
155-
A :class:`fifo` holding data which has been pushed by the application but
156-
not yet popped for writing to the channel. A :class:`fifo` is a list used
157-
to hold data and/or producers until they are required. If the *list*
158-
argument is provided then it should contain producers or data items to be
159-
written to the channel.
160-
161-
162-
.. method:: is_empty()
163-
164-
Returns ``True`` if and only if the fifo is empty.
165-
166-
167-
.. method:: first()
168-
169-
Returns the least-recently :meth:`push`\ ed item from the fifo.
170-
171-
172-
.. method:: push(data)
173-
174-
Adds the given data (which may be a string or a producer object) to the
175-
producer fifo.
176-
177-
178-
.. method:: pop()
179-
180-
If the fifo is not empty, returns ``True, first()``, deleting the popped
181-
item. Returns ``False, None`` for an empty fifo.
182-
183-
184150
.. _asynchat-example:
185151

186152
asynchat Example

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,8 @@ C API
550550
Documentation
551551
-------------
552552

553+
- Issue #6916: undocument deprecated asynchat.fifo class.
554+
553555
- Issue #17386: Expanded functionality of the ``Doc/make.bat`` script to make
554556
it much more comparable to ``Doc/Makefile``.
555557

0 commit comments

Comments
 (0)