Skip to content

Fix KerberosTicket documentation and minor cleanups - #2

Open
Montana wants to merge 1 commit into
Stanford:masterfrom
Montana:docs/fix-kerberos-docstrings
Open

Fix KerberosTicket documentation and minor cleanups#2
Montana wants to merge 1 commit into
Stanford:masterfrom
Montana:docs/fix-kerberos-docstrings

Conversation

@Montana

@Montana Montana commented Jul 2, 2026

Copy link
Copy Markdown

The module-level usage example constructs KerberosTicket() without the required ticket_file positional argument, so copying the documented example raises TypeError. This PR adds ticket_file to
the example and mentions it in the class docstring.

It also removes an f-string prefix from a string with no placeholders and fixes an 'or now' -> 'or not' typo in a comment.

Good luck at Stanford!

Cheers,
Michael

The module-level usage example constructed KerberosTicket() without the
required ticket_file positional argument, so copying the documented
example raises TypeError. Add ticket_file to the example and mention it
in the class docstring.

Also remove an f-string prefix from a string with no placeholders and
fix an 'or now' -> 'or not' typo in a comment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant