parameters: (s)
return_statement: return uppered
docstring: Apply English case rules to convert ASCII strings to all upper case.
  
      This is an internal utility function to replace calls to str.upper() such
      that we can avoid changing behavior with changing locales. In particular,
      Turkish has distinct dotted and dotless variants of the Latin letter "I" in
      both lowercase and uppercase. Thus, "i".upper() != "I" in a "tr" locale.
  
      Parameters
      ----------
      s : str
  
      Returns
      -------
      uppered : str
  
      Examples
      --------
      >>> from numpy.core.numerictypes import english_upper
      >>> english_upper('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_')
      'ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_'
      >>> english_upper('')
      ''
docstring_summary: Apply English case rules to convert ASCII strings to all upper case.
docstring_tokens: Apply English case rules to convert ASCII strings to all upper case .
function: def english_upper(s):
      """ Apply English case rules to convert ASCII strings to all upper case.
  
      This is an internal utility function to replace calls to str.upper() such
      that we can avoid changing behavior with changing locales. In particular,
      Turkish has distinct dotted and dotless variants of the Latin letter "I" in
      both lowercase and uppercase. Thus, "i".upper() != "I" in a "tr" locale.
  
      Parameters
      ----------
      s : str
  
      Returns
      -------
      uppered : str
  
      Examples
      --------
      >>> from numpy.core.numerictypes import english_upper
      >>> english_upper('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_')
      'ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_'
      >>> english_upper('')
      ''
      """
      uppered = s.translate(UPPER_TABLE)
      return uppered
function_tokens: def english_upper ( s ) : uppered = s . translate ( UPPER_TABLE ) return uppered