MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / get_truncated_repr

Method get_truncated_repr

Tools/gdb/libpython.py:176–189  ·  view source on GitHub ↗

Get a repr-like string for the data, but truncate it at "maxlen" bytes (ending the object graph traversal as soon as you do)

(self, maxlen)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

to_stringMethod · 0.80
print_summaryMethod · 0.80
invokeMethod · 0.80
invokeMethod · 0.80

Calls 4

write_reprMethod · 0.95
getvalueMethod · 0.95
TruncatedStringIOClass · 0.85
setFunction · 0.85

Tested by

no test coverage detected