parameters: (*nodes)
docstring: Raise a warning on nodes that are known to have negative numeric values.
      Used to find (potential) bugs inside of "wraparound=False" sections.
docstring_summary: Raise a warning on nodes that are known to have negative numeric values.
      Used to find (potential) bugs inside of "wraparound=False" sections.
docstring_tokens: Raise a warning on nodes that are known to have negative numeric values . Used to find ( potential ) bugs inside of wraparound = False sections .
function: def check_negative_indices(*nodes):
      """
      Raise a warning on nodes that are known to have negative numeric values.
      Used to find (potential) bugs inside of "wraparound=False" sections.
      """
      for node in nodes:
          if node is None or (
                  not isinstance(node.constant_result, _py_int_types) and
                  not isinstance(node.constant_result, float)):
              continue
          if node.constant_result < 0:
              warning(node.pos,
                      "the result of using negative indices inside of "
                      "code sections marked as 'wraparound=False' is "
                      "undefined", level=1)
function_tokens: def check_negative_indices ( * nodes ) : for node in nodes : if node is None or ( not isinstance ( node . constant_result , _py_int_types ) and not isinstance ( node . constant_result , float ) ) : continue if node . constant_result < 0 : warning ( node . pos , "the result of using negative indices inside of " "code sections marked as 'wraparound=False' is " "undefined" , level = 1 )