Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8310103

Browse files
DirectXMan12frozencemetery
authored andcommitted
Fix docs parsing error in creds.py
In the case of :class`MechTypes`s, the "s" at the end was causing Sphinx to fail to parse the class markup. This fixes that by rewording slightly to remove the need for the trailing "s".
1 parent a66dfc3 commit 8310103

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎gssapi/creds.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ def acquire(cls, name=None, lifetime=None, mechs=None, usage='both',
112112
or None for the default name
113113
lifetime (int): the desired lifetime of the credentials, or None
114114
for indefinite
115-
mechs (list): the desired :class:`MechType`s to be used with the
116-
credentials, or None for the default set
115+
mechs (list): the desired :class:`MechType` OIDs to be used
116+
with the credentials, or None for the default set
117117
usage (str): the usage for the credentials -- either 'both',
118118
'initiate', or 'accept'
119119
store (dict): the credential store information pointing to the
@@ -215,7 +215,7 @@ def impersonate(self, name=None, lifetime=None, mechs=None,
215215
name (Name): the name to impersonate
216216
lifetime (int): the desired lifetime of the new credentials,
217217
or None for indefinite
218-
mechs (list): the desired :class:`MechType`s for the new
218+
mechs (list): the desired :class:`MechType` OIDs for the new
219219
credentials
220220
usage (str): the desired usage for the new credentials -- either
221221
'both', 'initiate', or 'accept'. Note that some mechanisms

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /