Rewrap comment.

This commit is contained in:
Raymond Hettinger 2015-10-15 08:05:31 -07:00
parent bc00341105
commit a4b13d0020
1 changed files with 4 additions and 4 deletions

View File

@ -272,10 +272,10 @@ PyDoc_STRVAR(popleft_doc, "Remove and return the leftmost element.");
/* The deque's size limit is d.maxlen. The limit can be zero or positive.
* If there is no limit, then d.maxlen == -1.
*
* After an item is added to a deque, we check to see if the size has grown past
* the limit. If it has, we get the size back down to the limit by popping an
* item off of the opposite end. The methods that can trigger this are append(),
* appendleft(), extend(), and extendleft().
* After an item is added to a deque, we check to see if the size has
* grown past the limit. If it has, we get the size back down to the limit
* by popping an item off of the opposite end. The methods that can
* trigger this are append(), appendleft(), extend(), and extendleft().
*
* The macro to check whether a deque needs to be trimmed uses a single
* unsigned test that returns true whenever 0 <= maxlen < Py_SIZE(deque).