Skip to content

Commit

Permalink
Testing a docstring formating that's nice with pydoc
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavid committed Jul 22, 2014
1 parent 57e25c1 commit 5d01300
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions pygit2/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,16 @@ def credentials(self, url, username_from_url, allowed_types):
be called and its return value used for authentication. Override
it if you want to be able to perform authentication.
:param str url: The url of the remote
:param username_from_url: Username extracted from the url, if any
:type username_from_url: str or None
:param int allowed_types: credential types supported by the remote
:rtype: credential
Parameters:
- url (str) -- The url of the remote.
- username_from_url (str or None) -- Username extracted from the url,
if any.
- allowed_types (int) -- Credential types supported by the remote.
Return value: credential
"""
pass

Expand Down

0 comments on commit 5d01300

Please sign in to comment.