summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2013-11-18 17:32:13 (GMT)
committerLarry Hastings <larry@hastings.org>2013-11-18 17:32:13 (GMT)
commited4a1c57034d53bf217d64a771208d372ad9e1a5 (patch)
treea5448732832ef3315f33fba2f4b75f79358e4664 /Objects
parentfd32fffa5ada8b8be8a65bd51b001d989f99a3d3 (diff)
downloadcpython-ed4a1c57034d53bf217d64a771208d372ad9e1a5.zip
cpython-ed4a1c57034d53bf217d64a771208d372ad9e1a5.tar.gz
cpython-ed4a1c57034d53bf217d64a771208d372ad9e1a5.tar.bz2
Argument Clinic: rename "self" to "module" for module-level functions.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/dictobject.c2
-rw-r--r--Objects/unicodeobject.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index a5072c8..c224052 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -2161,7 +2161,7 @@ dict_richcompare(PyObject *v, PyObject *w, int op)
}
/*[clinic]
-module dict
+class dict
@coexist
dict.__contains__
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 925d86c..b2f488d 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -12722,7 +12722,7 @@ unicode_swapcase(PyObject *self)
}
/*[clinic]
-module str
+class str
@staticmethod
str.maketrans as unicode_maketrans