MCPcopy Index your code
hub / github.com/clips/pattern / _import_speedups

Function _import_speedups

pattern/web/json/encoder.py:6–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4from decimal import Decimal
5
6def _import_speedups():
7 try:
8 import _speedups
9 return _speedups.encode_basestring_ascii, _speedups.make_encoder
10 except ImportError:
11 return None, None
12c_encode_basestring_ascii, c_make_encoder = _import_speedups()
13
14from decoder import PosInf

Callers 1

encoder.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…