MCPcopy Index your code
hub / github.com/rocky/python-uncompyle6 / is_not_docstring

Function is_not_docstring

uncompyle6/semantics/transform.py:60–68  ·  view source on GitHub ↗
(call_stmt_node)

Source from the content-addressed store, hash-verified

58
59
60def is_not_docstring(call_stmt_node) -> bool:
61 try:
62 return (
63 call_stmt_node == "call_stmt"
64 and call_stmt_node[0][0] == "LOAD_STR"
65 and call_stmt_node[1] == "POP_TOP"
66 )
67 except Exception:
68 return False
69
70
71class TreeTransform(GenericASTTraversal, object):

Callers 1

transformMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected