parameters: (self, pyx_code)
docstring: Setup some common cases to match dtypes against specializations
docstring_summary: Setup some common cases to match dtypes against specializations
docstring_tokens: Setup some common cases to match dtypes against specializations
function: def _buffer_check_numpy_dtype_setup_cases(self, pyx_code):
          "Setup some common cases to match dtypes against specializations"
          if pyx_code.indenter("if kind in b'iu':"):
              pyx_code.putln("pass")
              pyx_code.named_insertion_point("dtype_int")
              pyx_code.dedent()
  
          if pyx_code.indenter("elif kind == b'f':"):
              pyx_code.putln("pass")
              pyx_code.named_insertion_point("dtype_float")
              pyx_code.dedent()
  
          if pyx_code.indenter("elif kind == b'c':"):
              pyx_code.putln("pass")
              pyx_code.named_insertion_point("dtype_complex")
              pyx_code.dedent()
  
          if pyx_code.indenter("elif kind == b'O':"):
              pyx_code.putln("pass")
              pyx_code.named_insertion_point("dtype_object")
              pyx_code.dedent()
function_tokens: def _buffer_check_numpy_dtype_setup_cases ( self , pyx_code ) : if pyx_code . indenter ( "if kind in b'iu':" ) : pyx_code . putln ( "pass" ) pyx_code . named_insertion_point ( "dtype_int" ) pyx_code . dedent ( ) if pyx_code . indenter ( "elif kind == b'f':" ) : pyx_code . putln ( "pass" ) pyx_code . named_insertion_point ( "dtype_float" ) pyx_code . dedent ( ) if pyx_code . indenter ( "elif kind == b'c':" ) : pyx_code . putln ( "pass" ) pyx_code . named_insertion_point ( "dtype_complex" ) pyx_code . dedent ( ) if pyx_code . indenter ( "elif kind == b'O':" ) : pyx_code . putln ( "pass" ) pyx_code . named_insertion_point ( "dtype_object" ) pyx_code . dedent ( )