MCPcopy Create free account
hub / github.com/HyperInspire/InspireFace / __iadd__

Method __iadd__

python/inspireface/modules/core/native.py:400–407  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

398 return UserString(self.data)
399
400 def __iadd__(self, other):
401 if isinstance(other, UserString):
402 self.data += other.data
403 elif isinstance(other, bytes):
404 self.data += other
405 else:
406 self.data += str(other).encode()
407 return self
408
409 def __imul__(self, n):
410 self.data *= n

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected