From 5d01300956ba6f007deeb472b0118d7d83957902 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= Date: Tue, 22 Jul 2014 17:35:23 +0200 Subject: [PATCH] Testing a docstring formating that's nice with pydoc --- pygit2/remote.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pygit2/remote.py b/pygit2/remote.py index 270ab6e24..2875854fb 100644 --- a/pygit2/remote.py +++ b/pygit2/remote.py @@ -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