class documentation

class SafeString(str, SafeData): (source)

View In Hierarchy

A str subclass that has been specifically marked as "safe" for HTML output purposes.

Method __add__ Concatenating a safe string with another safe bytestring or safe string is safe. Otherwise, the result is no longer safe.
Method __str__ Undocumented
Class Variable __slots__ Undocumented

Inherited from SafeData:

Method __html__ Return the html representation of a string for interoperability.
def __add__(self, rhs): (source)

Concatenating a safe string with another safe bytestring or safe string is safe. Otherwise, the result is no longer safe.

def __str__(self): (source)

Undocumented