MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / __add__

Method __add__

suds/sax/text.py:76–81  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

74 return Text(post, lang=self.lang, escaped=self.escaped)
75
76 def __add__(self, other):
77 joined = u''.join((self, other))
78 result = Text(joined, lang=self.lang, escaped=self.escaped)
79 if isinstance(other, Text):
80 result.escaped = self.escaped or other.escaped
81 return result
82
83 def __repr__(self):
84 s = [self]

Callers

nothing calls this directly

Calls 1

TextClass · 0.85

Tested by

no test coverage detected