summaryrefslogtreecommitdiffstats
path: root/Lib/UserList.py
Commit message (Collapse)AuthorAgeFilesLines
* robustify UserList constructor -- will now accept any sequenceJeremy Hylton2000-03-311-5/+8
| | | | add test cases for non-UserList class, tuple, & string
* Mass patch by Ka-Ping Yee:Guido van Rossum2000-02-021-1/+1
| | | | | | | | | | | 1. Comments at the beginning of the module, before functions, and before classes have been turned into docstrings. 2. Tabs are normalized to four spaces. Also, removed the "remove" function from dircmp.py, which reimplements list.remove() (it must have been very old).
* Use isinstance() where appropriate.Guido van Rossum1999-03-261-49/+63
| | | | Reformatted with 4-space indent.
* Add extend() method. A small New Year's present from Jean-Claude Wippler.Guido van Rossum1999-01-061-0/+1
|
* In __getslice__, use self.__class__ instead of UserList.Guido van Rossum1998-12-091-1/+1
|
* Add pop method.Guido van Rossum1998-06-301-0/+1
|
* added * and + operatorsGuido van Rossum1996-05-281-0/+13
|
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-4/+2
|
* * test_*.py: new lambda syntax (also affects tests for filter, map,Guido van Rossum1993-11-301-0/+39
reduce) * ftplib.py: added default callback for retrlines; added dir() method * ftplib.py: don't return self in self.connect(); added hack so that if 'CDUP' is not understood, 'CWD ..' is tried. * ftplib.py: second method called init() should have been called connect(); if __init__ sees more than one argument, it will also try to login().