summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libsets.tex
Commit message (Collapse)AuthorAgeFilesLines
* Backport various fixups (with permission from the RM).Raymond Hettinger2003-12-071-5/+2
|
* Fix typoRaymond Hettinger2003-11-161-1/+1
|
* Backport improvements to set.py so that the interface will remainRaymond Hettinger2003-08-171-57/+60
| | | | | | | | | | | | | | | | | | consistent across versions. * Relaxed the argument restrictions for non-operator methods. They now allow any iterable instead of requiring a set. This makes the module a little easier to use and paves the way for an efficient C implementation which can take better advantage of iterable arguments while screening out immutables. * Added a PendingDeprecationWarning for Set.update() because it now duplicates Set.union_update() * Adapted the tests and docs to include the above changes. * Added more test coverage including testing identities and checking to make sure non-restartable generators work as arguments.
* SF bug #663701: sets module reviewRaymond Hettinger2003-02-141-4/+4
| | | | Renamed hook methods to use the double underscore convention.
* SF bug #663701. The caret wasn't printing well in the PDF documentation.Raymond Hettinger2003-02-141-1/+1
|
* Document that __cmp__() is not defined for sets.Raymond Hettinger2003-01-151-3/+12
| | | | | Note, that list.sort() is undefined for lists of sets. Add the ... prompt to the example so it runs in doctest.
* Fix some nits Guido brought up last August:Fred Drake2003-01-061-10/+8
| | | | | | - give subsection pages nicer names - shorten some really long table cells; table cells can't wrap in the typeset version of the documentation
* Implemented <, <=, >, >= for sets, giving subset and proper-subsetTim Peters2002-08-251-5/+12
| | | | | | meanings. I did not add new, e.g., ispropersubset() methods; we're going nuts on those, and, e.g., there was no "friendly name" for == either.
* Removed < <= > >= from the API. Implemented as comparisons of theRaymond Hettinger2002-08-241-3/+2
| | | | | | | | underlying dictionaries, there were no reasonable use cases (lexicographic sorting of a list of sets is somewhat esoteric). Frees the operators for other uses (such as strict subset and superset comparisons). Updated documentation and test suite accordingly.
* Fix markup and punctuationRaymond Hettinger2002-08-231-4/+4
|
* s/_as_Temporarily_Immutable/_as_temporarily_immutable/g, because theTim Peters2002-08-231-2/+2
| | | | latter is what the code actually does.
* pop(): An arbitrary element is removed, not a random element.Tim Peters2002-08-231-1/+2
|
* Adjust the markup in a few places so this will actually format.Fred Drake2002-08-231-92/+89
| | | | Remove the third column in the tables since it isn't used.
* Load docs for sets.pyRaymond Hettinger2002-08-231-0/+219