diff options
author | Raymond Hettinger <python@rcn.com> | 2003-11-16 16:17:49 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-11-16 16:17:49 (GMT) |
commit | a690a9967e715663b7a421c9ebdad91381cdf1e4 (patch) | |
tree | 1c5d9eeef0ac20efe39f1af11a81d745592596d1 /Python | |
parent | d456849f19fa7b00b6560b67c5388a5a6cd89d0a (diff) | |
download | cpython-a690a9967e715663b7a421c9ebdad91381cdf1e4.zip cpython-a690a9967e715663b7a421c9ebdad91381cdf1e4.tar.gz cpython-a690a9967e715663b7a421c9ebdad91381cdf1e4.tar.bz2 |
* Migrate set() and frozenset() from the sandbox.
* Install the unittests, docs, newsitem, include file, and makefile update.
* Exercise the new functions whereever sets.py was being used.
Includes the docs for libfuncs.tex. Separate docs for the types are
forthcoming.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 35283fc..2fb8206 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -2116,12 +2116,14 @@ _PyBuiltin_Init(void) SETBUILTIN("dict", &PyDict_Type); SETBUILTIN("enumerate", &PyEnum_Type); SETBUILTIN("float", &PyFloat_Type); + SETBUILTIN("frozenset", &PyFrozenSet_Type); SETBUILTIN("property", &PyProperty_Type); SETBUILTIN("int", &PyInt_Type); SETBUILTIN("list", &PyList_Type); SETBUILTIN("long", &PyLong_Type); SETBUILTIN("object", &PyBaseObject_Type); SETBUILTIN("reversed", &PyReversed_Type); + SETBUILTIN("set", &PySet_Type); SETBUILTIN("slice", &PySlice_Type); SETBUILTIN("staticmethod", &PyStaticMethod_Type); SETBUILTIN("str", &PyString_Type); |