From 0e3091daa2864e9217e9f3925a36255e66a198b5 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Wed, 6 Sep 2017 10:28:49 +0200 Subject: pysss_nss_idmap: Fix typos in python documentation s/dictonary/dictionary/g Reviewed-by: Sumit Bose (cherry picked from commit e7fd33642a16cbb2cd814d3578c28affcf16f68c) (cherry picked from commit 0d5e92b3ce507f8c46d3605729abc69d8310ff93) --- src/python/pysss_nss_idmap.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/python/pysss_nss_idmap.c b/src/python/pysss_nss_idmap.c index 430b53361..a0561a05d 100644 --- a/src/python/pysss_nss_idmap.c +++ b/src/python/pysss_nss_idmap.c @@ -279,8 +279,8 @@ static PyObject *check_args(enum lookup_type type, PyObject *args) PyDoc_STRVAR(getsidbyname_doc, "getsidbyname(name or list/tuple of names) -> dict(name => dict(results))\n\ \n\ -Returns a dictionary with a dictonary of results for each given name.\n\ -The result dictonary contain the SID and the type of the object which can be\n\ +Returns a dictionary with a dictionary of results for each given name.\n\ +The result dictionary contain the SID and the type of the object which can be\n\ accessed with the key constants SID_KEY and TYPE_KEY, respectively.\n\ \n\ The return type can be one of the following constants:\n\ @@ -298,8 +298,8 @@ static PyObject * py_getsidbyname(PyObject *module, PyObject *args) PyDoc_STRVAR(getsidbyid_doc, "getsidbyid(id or list/tuple of id) -> dict(id => dict(results))\n\ \n\ -Returns a dictionary with a dictonary of results for each given POSIX ID.\n\ -The result dictonary contain the SID and the type of the object which can be\n\ +Returns a dictionary with a dictionary of results for each given POSIX ID.\n\ +The result dictionary contain the SID and the type of the object which can be\n\ accessed with the key constants SID_KEY and TYPE_KEY, respectively." ); @@ -311,8 +311,8 @@ static PyObject * py_getsidbyid(PyObject *module, PyObject *args) PyDoc_STRVAR(getnamebysid_doc, "getnamebysid(sid or list/tuple of sid) -> dict(sid => dict(results))\n\ \n\ -Returns a dictionary with a dictonary of results for each given SID.\n\ -The result dictonary contain the name and the type of the object which can be\n\ +Returns a dictionary with a dictionary of results for each given SID.\n\ +The result dictionary contain the name and the type of the object which can be\n\ accessed with the key constants NAME_KEY and TYPE_KEY, respectively.\n\ \n\ NOTE: getnamebysid currently works only with id_provider set as \"ad\" or \"ipa\"" @@ -329,8 +329,8 @@ PyDoc_STRVAR(getidbysid_doc, Returns the POSIX ID of the object with the given SID." "getidbysid(sid or list/tuple of sid) -> dict(sid => dict(results))\n\ \n\ -Returns a dictionary with a dictonary of results for each given SID.\n\ -The result dictonary contain the POSIX ID and the type of the object which\n\ +Returns a dictionary with a dictionary of results for each given SID.\n\ +The result dictionary contain the POSIX ID and the type of the object which\n\ can be accessed with the key constants ID_KEY and TYPE_KEY, respectively." ); -- cgit