diff options
author | Larry Hastings <larry@hastings.org> | 2015-04-16 03:02:12 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2015-04-16 03:02:12 (GMT) |
commit | 7f90cba7f3f2ebd7eb5e614917014760f61c6ec8 (patch) | |
tree | 48ccae17547e5bec410f9233de0e60df3da67c54 /Modules/_dbmmodule.c | |
parent | 3b8124884c3655b4cf2629d741b18c1a38181805 (diff) | |
download | cpython-7f90cba7f3f2ebd7eb5e614917014760f61c6ec8.zip cpython-7f90cba7f3f2ebd7eb5e614917014760f61c6ec8.tar.gz cpython-7f90cba7f3f2ebd7eb5e614917014760f61c6ec8.tar.bz2 |
Issue #23935: Argument Clinic's understanding of format units
accepting bytes, bytearrays, and buffers is now consistent with
both the documentation and the implementation.
Diffstat (limited to 'Modules/_dbmmodule.c')
-rw-r--r-- | Modules/_dbmmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_dbmmodule.c b/Modules/_dbmmodule.c index bcdea1d..b815e97 100644 --- a/Modules/_dbmmodule.c +++ b/Modules/_dbmmodule.c @@ -272,7 +272,7 @@ dbm.dbm.get self: dbmobject - key: str(length=True) + key: str(types={'str', 'robuffer'}, length=True) default: object = None / @@ -282,7 +282,7 @@ Return the value for key if present, otherwise default. static PyObject * dbm_dbm_get_impl(dbmobject *dp, const char *key, Py_ssize_clean_t key_length, PyObject *default_value) -/*[clinic end generated code: output=4f5c0e523eaf1251 input=aecf5efd2f2b1a3b]*/ +/*[clinic end generated code: output=4f5c0e523eaf1251 input=f81478bc211895ef]*/ { datum dbm_key, val; |