我们从Python开源项目中,提取了以下10个代码示例,用于说明如何使用symbol.pass_stmt()。
def pass_stmt(self, nodelist): return Pass(lineno=nodelist[0][2])
def com_node(self, node): # Note: compile.c has handling in com_node for del_stmt, pass_stmt, # break_stmt, stmt, small_stmt, flow_stmt, simple_stmt, # and compound_stmt. # We'll just dispatch them. return self._dispatch[node[0]](node[1:])