diff options
| author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-06-01 04:16:28 +0000 |
|---|---|---|
| committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-06-01 04:16:28 +0000 |
| commit | c3e36af722b30ba23fe4bd6841565538bd605b9e (patch) | |
| tree | 0b3e20fd8bc03d776ad2dffd5cd9151abcf408e5 /Doc/c-api | |
| parent | 787f307e3582d20ce2e071de24ea7ce14bf871d5 (diff) | |
| download | cpython-git-c3e36af722b30ba23fe4bd6841565538bd605b9e.tar.gz | |
Whitespace nits.
Diffstat (limited to 'Doc/c-api')
| -rw-r--r-- | Doc/c-api/dict.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/c-api/dict.rst b/Doc/c-api/dict.rst index c86cd0b8c2..c3ef1f4300 100644 --- a/Doc/c-api/dict.rst +++ b/Doc/c-api/dict.rst @@ -98,6 +98,7 @@ Dictionary Objects Return the object from dictionary *p* which has a key *key*. Return *NULL* if the key *key* is not present, but *without* setting an exception. + .. cfunction:: PyObject* PyDict_GetItemWithError(PyObject *p, PyObject *key) Variant of :cfunc:`PyDict_GetItem` that does not suppress @@ -105,6 +106,7 @@ Dictionary Objects occurred. Return *NULL* **without** an exception set if the key wasn't present. + .. cfunction:: PyObject* PyDict_GetItemString(PyObject *p, const char *key) This is the same as :cfunc:`PyDict_GetItem`, but *key* is specified as a |
