MCPcopy
hub / github.com/wechatpy/wechatpy / __str__

Method __str__

wechatpy/replies.py:81–85  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

79 return tpl.format(data=data)
80
81 def __str__(self):
82 if six.PY2:
83 return to_binary(self.render())
84 else:
85 return to_text(self.render())
86
87
88@register_reply('empty')

Callers

nothing calls this directly

Calls 3

renderMethod · 0.95
to_binaryFunction · 0.90
to_textFunction · 0.90

Tested by

no test coverage detected