MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Lib/_android_support.py:160–164  ·  view source on GitHub ↗
(self, android_log_write)

Source from the content-addressed store, hash-verified

158
159class Logcat:
160 def __init__(self, android_log_write):
161 self.android_log_write = android_log_write
162 self._lock = RLock()
163 self._bucket_level = 0
164 self._prev_write_time = time()
165
166 def write(self, prio, tag, message):
167 # Encode null bytes using "modified UTF-8" to avoid them truncating the

Callers 1

__init__Method · 0.45

Calls 2

RLockFunction · 0.90
timeClass · 0.90

Tested by

no test coverage detected