MCPcopy Create free account
hub / github.com/iovisor/bcc / __bytes__

Method __bytes__

src/python/bcc/utils.py:76–77  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74 self.s = arg.decode(FILESYSTEMENCODING)
75
76 def __bytes__(self):
77 return self.s.encode(FILESYSTEMENCODING)
78
79 def __str__(self):
80 return self.s

Callers 2

_find_fileMethod · 0.95
_assert_is_bytesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected