Just some documentation added

This commit is contained in:
Roland Hedberg
2012-11-01 09:13:39 +01:00
parent f0ca238559
commit 26e6decf0d

View File

@@ -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: