summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2017-09-06 10:28:49 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2017-09-13 09:46:35 +0200
commit0e3091daa2864e9217e9f3925a36255e66a198b5 (patch)
treeb01433d976ac3553d9ce17477c4bd68bb1d832c5
parent26222cae53b1d0ac13a6ca00e13a0bf142775a12 (diff)
downloadsssd-0e3091daa2864e9217e9f3925a36255e66a198b5.tar.gz
sssd-0e3091daa2864e9217e9f3925a36255e66a198b5.tar.xz
sssd-0e3091daa2864e9217e9f3925a36255e66a198b5.zip
pysss_nss_idmap: Fix typos in python documentation
s/dictonary/dictionary/g Reviewed-by: Sumit Bose <sbose@redhat.com> (cherry picked from commit e7fd33642a16cbb2cd814d3578c28affcf16f68c) (cherry picked from commit 0d5e92b3ce507f8c46d3605729abc69d8310ff93)
-rw-r--r--src/python/pysss_nss_idmap.c16
1 files 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."
);