PyUnicode_IsIdentifier

Checks whether argument is a valid identifier. Availability: 3.*

  1. int PyUnicode_IsIdentifier(PyObject* s)
  2. alias PyUnicode_IsIdentifier = PyUnicodeUCS2_IsIdentifier
  3. alias PyUnicode_IsIdentifier = PyUnicodeUCS4_IsIdentifier
    version(!Python_3_3_Or_Later && !Python_Unicode_UCS2 && Python_3_0_Or_Later)
    extern (C)
    alias PyUnicode_IsIdentifier = PyUnicodeUCS4_IsIdentifier

Meta