summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libsets.tex
Commit message (Collapse)AuthorAgeFilesLines
* Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters2006-04-211-2/+3
| | | | | | | | | | | | | | | | | | | | number of tests, all because of the codecs/_multibytecodecs issue described here (it's not a Py3K issue, just something Py3K discovers): http://mail.python.org/pipermail/python-dev/2006-April/064051.html Hye-Shik Chang promised to look for a fix, so no need to fix it here. The tests that are expected to break are: test_codecencodings_cn test_codecencodings_hk test_codecencodings_jp test_codecencodings_kr test_codecencodings_tw test_codecs test_multibytecodec This merge fixes an actual test failure (test_weakref) in this branch, though, so I believe merging is the right thing to do anyway.
* Make consistent with 2.4Neal Norwitz2005-11-031-1/+1
|
* [ 1243081 ] repair typosGeorg Brandl2005-07-221-3/+3
|
* Provide a comparison to the builtin set types.Raymond Hettinger2005-07-011-2/+32
|
* SF bug #1179957: Missing def'n of equality for set elementsRaymond Hettinger2005-04-101-1/+4
|
* fix typeset of vertical bar for PDF formatFred Drake2005-01-191-2/+2
| | | | (closes SF bug #1008998)
* Nits from a review of the documentation update.Raymond Hettinger2003-11-261-5/+2
|
* Fix typoRaymond Hettinger2003-11-161-1/+1
|
* Improvements to set.py:Raymond Hettinger2003-08-171-3/+19
| | | | | | | | | | | | | | | | | | | * 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. * Deprecated 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. Will backport to Py2.3.1 so that the interface remains consistent across versions. The deprecation of update() will be changed to a FutureWarning.
* Incorporate documentation suggestions from feedback on comp.lang.python.Raymond Hettinger2003-08-161-55/+42
| | | | | | | | | | | | | | | * Positive wording for the description of why < and > and = can all be False. * Move to a three column table format that puts long method names side-by-side with their operator equivalents * Mention that KeyError can be raised by Set.pop() and Set.remove(). * Minor tweaks to the examples. Will backport as soon as Fred rebuilds the docs so I can confirm the tables formatted properly
* 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