summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2001-01-19 21:36:19 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2001-01-19 21:36:19 (GMT)
commit6f77667a64e258c324013e35eb4f0e5e99469f7b (patch)
treedaa9a0fc447b9947ede8197d472e067b6dd35e66 /Python
parenta8e14d4d0351264d73d475a6e93e242587c016da (diff)
downloadcpython-6f77667a64e258c324013e35eb4f0e5e99469f7b.zip
cpython-6f77667a64e258c324013e35eb4f0e5e99469f7b.tar.gz
cpython-6f77667a64e258c324013e35eb4f0e5e99469f7b.tar.bz2
Backed out the unistr() builtin.
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 66372da..e5db11e 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1936,23 +1936,6 @@ If the argument is a string, the return value is the same object.";
static PyObject *
-builtin_unistr(PyObject *self, PyObject *args)
-{
- PyObject *v;
-
- if (!PyArg_ParseTuple(args, "O:unistr", &v))
- return NULL;
- return PyObject_Unicode(v);
-}
-
-static char unistr_doc[] =
-"unistr(object) -> unicode\n\
-\n\
-Return a nice unicode representation of the object.\n\
-If the argument is a unicode, the return value is the same object.";
-
-
-static PyObject *
builtin_tuple(PyObject *self, PyObject *args)
{
PyObject *v;
@@ -2267,7 +2250,6 @@ static PyMethodDef builtin_methods[] = {
{"type", builtin_type, 1, type_doc},
{"unicode", builtin_unicode, 1, unicode_doc},
{"unichr", builtin_unichr, 1, unichr_doc},
- {"unistr", builtin_unistr, 1, unistr_doc},
{"vars", builtin_vars, 1, vars_doc},
{"xrange", builtin_xrange, 1, xrange_doc},
{"zip", builtin_zip, 1, zip_doc},