From 26e6decf0db96c1ad0a59fab84a8737dfd6c7cb7 Mon Sep 17 00:00:00 2001 From: Roland Hedberg Date: Thu, 1 Nov 2012 09:13:39 +0100 Subject: [PATCH] Just some documentation added --- src/saml2/__init__.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/saml2/__init__.py b/src/saml2/__init__.py index b85672e..0827c9b 100644 --- a/src/saml2/__init__.py +++ b/src/saml2/__init__.py @@ -564,7 +564,12 @@ class SamlBase(ExtensionContainer): return new_tree def to_string(self, nspair=None): - """Converts the Saml object to a string containing XML.""" + """Converts the Saml object to a string containing XML. + + :param nspair: A dictionary of prefixes and uris to use when + constructing the text representation. + :return: String representation of the object + """ if nspair: for prefix, uri in nspair.items(): try: