MCPcopy Index your code
hub / github.com/pywebio/PyWebIO / __del__

Method __del__

pywebio/io_ctrl.py:158–165  ·  view source on GitHub ↗

返回值没有被变量接收时的操作:直接输出消息

(self)

Source from the content-addressed store, hash-verified

156 return self
157
158 def __del__(self):
159 """返回值没有被变量接收时的操作:直接输出消息"""
160 if not self.processed:
161 # avoid `Exception ignored in xxx` error log
162 try:
163 self.send()
164 except Exception:
165 pass
166
167
168class OutputList(UserList):

Callers 1

__del__Method · 0.45

Calls 1

sendMethod · 0.95

Tested by

no test coverage detected