MCPcopy Create free account
hub / github.com/pexpect/pexpect / encode

Method encode

pexpect/spawnbase.py:16–17  ·  view source on GitHub ↗
(b, final=False)

Source from the content-addressed store, hash-verified

14 """Pass bytes through unchanged."""
15 @staticmethod
16 def encode(b, final=False):
17 return b
18
19 @staticmethod
20 def decode(b, final=False):

Callers 15

__init__Method · 0.80
sendMethod · 0.80
_spawnMethod · 0.80
sendMethod · 0.80
interactMethod · 0.80
__init__Method · 0.80
_coerce_expect_stringMethod · 0.80
_coerce_expect_reMethod · 0.80
_coerce_send_stringMethod · 0.80
__str__Method · 0.80
sendMethod · 0.80
sendMethod · 0.80

Calls

no outgoing calls

Tested by 3

test_logMethod · 0.64
_iter_nMethod · 0.64
faster_rangeMethod · 0.64