Skip to content

Commit 5d01300

Browse files
committed
Testing a docstring formating that's nice with pydoc
1 parent 57e25c1 commit 5d01300

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

pygit2/remote.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,16 @@ def credentials(self, url, username_from_url, allowed_types):
8787
be called and its return value used for authentication. Override
8888
it if you want to be able to perform authentication.
8989
90-
:param str url: The url of the remote
91-
:param username_from_url: Username extracted from the url, if any
92-
:type username_from_url: str or None
93-
:param int allowed_types: credential types supported by the remote
94-
:rtype: credential
90+
Parameters:
91+
92+
- url (str) -- The url of the remote.
93+
94+
- username_from_url (str or None) -- Username extracted from the url,
95+
if any.
96+
97+
- allowed_types (int) -- Credential types supported by the remote.
98+
99+
Return value: credential
95100
"""
96101
pass
97102

0 commit comments

Comments
 (0)