MCPcopy
hub / github.com/dnhkng/GLaDOS / __iadd__

Method __iadd__

glados/whisper_cpp_wrapper.py:317–324  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

315 return UserString(self.data)
316
317 def __iadd__(self, other):
318 if isinstance(other, UserString):
319 self.data += other.data
320 elif isinstance(other, bytes):
321 self.data += other
322 else:
323 self.data += str(other).encode()
324 return self
325
326 def __imul__(self, n):
327 self.data *= n

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected