Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
892051af
Commit
892051af
authored
Jun 14, 2014
by
Giampaolo Rodola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix issue #6916: undocument deprecated asynchat.fifo class.q
parent
f8e9ba0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
34 deletions
+2
-34
Doc/library/asynchat.rst
Doc/library/asynchat.rst
+0
-34
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Doc/library/asynchat.rst
View file @
892051af
...
...
@@ -147,40 +147,6 @@ connection requests.
by the channel after :meth:`found_terminator` is called.
asynchat - Auxiliary Classes
------------------------------------------
.. class:: fifo(list=None)
A :class:`fifo` holding data which has been pushed by the application but
not yet popped for writing to the channel. A :class:`fifo` is a list used
to hold data and/or producers until they are required. If the *list*
argument is provided then it should contain producers or data items to be
written to the channel.
.. method:: is_empty()
Returns ``True`` if and only if the fifo is empty.
.. method:: first()
Returns the least-recently :meth:`push`\ ed item from the fifo.
.. method:: push(data)
Adds the given data (which may be a string or a producer object) to the
producer fifo.
.. method:: pop()
If the fifo is not empty, returns ``True, first()``, deleting the popped
item. Returns ``False, None`` for an empty fifo.
.. _asynchat-example:
asynchat Example
...
...
Misc/NEWS
View file @
892051af
...
...
@@ -550,6 +550,8 @@ C API
Documentation
-------------
-
Issue
#
6916
:
undocument
deprecated
asynchat
.
fifo
class
.
-
Issue
#
17386
:
Expanded
functionality
of
the
``
Doc
/
make
.
bat
``
script
to
make
it
much
more
comparable
to
``
Doc
/
Makefile
``.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment