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:34:22 +0200
commite7fd33642a16cbb2cd814d3578c28affcf16f68c (patch)
tree3b94a8ffa121d166f0d3f132c674c6dbcf10981a
parentcc4d6435ef49738a02ddfc6072f1197d7f8f7319 (diff)
downloadsssd-e7fd33642a16cbb2cd814d3578c28affcf16f68c.tar.gz
sssd-e7fd33642a16cbb2cd814d3578c28affcf16f68c.tar.xz
sssd-e7fd33642a16cbb2cd814d3578c28affcf16f68c.zip
pysss_nss_idmap: Fix typos in python documentation
s/dictonary/dictionary/g Reviewed-by: Sumit Bose <sbose@redhat.com>
-rw-r--r--src/python/pysss_nss_idmap.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/python/pysss_nss_idmap.c b/src/python/pysss_nss_idmap.c
index ab6e06e48..66d6dcc93 100644
--- a/src/python/pysss_nss_idmap.c
+++ b/src/python/pysss_nss_idmap.c
@@ -389,8 +389,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\
@@ -408,8 +408,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."
);
@@ -421,8 +421,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\""
@@ -439,8 +439,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."
);
@@ -452,8 +452,8 @@ static PyObject * py_getidbysid(PyObject *module, PyObject *args)
PyDoc_STRVAR(getnamebycert_doc,
"getnamebycert(certificate or list/tuple of certificates) -> dict(certificate => dict(results))\n\
\n\
-Returns a dictionary with a dictonary of results for each given certificates.\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 certificates.\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: getnamebycert currently works only with id_provider set as \"ad\" or \"ipa\""
@@ -467,8 +467,8 @@ static PyObject * py_getnamebycert(PyObject *module, PyObject *args)
PyDoc_STRVAR(getlistbycert_doc,
"getnamebycert(certificate or list/tuple of certificates) -> dict(certificate => dict(results))\n\
\n\
-Returns a dictionary with a dictonary of results for each given certificates.\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 certificates.\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: getlistbycert currently works only with id_provider set as \"ad\" or \"ipa\""