MCPcopy Index your code
hub / github.com/ZeroIntensity/pointers.py / encode

Method encode

src/pointers/api_bindings.py:496–504  ·  view source on GitHub ↗
(
        object: PyObjectLike, encoding: StringLike, errors: StringLike
    )

Source from the content-addressed store, hash-verified

494 # PyCodec_Encode
495 @staticmethod
496 def encode(
497 object: PyObjectLike, encoding: StringLike, errors: StringLike
498 ) -> PyObjectLike:
499 return api_binding_base(
500 API_FUNCS["PyCodec_Encode"],
501 _deref_maybe(object),
502 make_string(encoding),
503 make_string(errors),
504 )
505
506 # PyCodec_Encoder
507 @staticmethod

Callers 2

make_stringFunction · 0.80
make_charFunction · 0.80

Calls 3

api_binding_baseFunction · 0.85
_deref_maybeFunction · 0.85
make_stringFunction · 0.85

Tested by

no test coverage detected