(call_stmt_node)
| 58 | |
| 59 | |
| 60 | def 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 | |
| 71 | class TreeTransform(GenericASTTraversal, object): |