MCPcopy Create free account
hub / github.com/simplejson/simplejson / b

Function b

simplejson/compat.py:7–8  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

5if sys.version_info[0] < 3:
6 PY3 = False
7 def b(s):
8 return s
9 try:
10 from cStringIO import StringIO
11 except ImportError:

Callers 13

test_issue3623Method · 0.90
__bytes__Method · 0.90
test_bytes_decodeMethod · 0.90
__bytes__Method · 0.90
test_stringify_keyMethod · 0.90
test_bytes_toplevelMethod · 0.90
test_bytes_nestedMethod · 0.90
test_bytes_keyMethod · 0.90
test_bad_encodingMethod · 0.90

Calls

no outgoing calls

Tested by 12

test_issue3623Method · 0.72
__bytes__Method · 0.72
test_bytes_decodeMethod · 0.72
__bytes__Method · 0.72
test_stringify_keyMethod · 0.72
test_bytes_toplevelMethod · 0.72
test_bytes_nestedMethod · 0.72
test_bytes_keyMethod · 0.72
test_bad_encodingMethod · 0.72
test_strip_bomMethod · 0.72