Back to index

python3.2  3.2.2
Defines | Variables
pyctype.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PY_CTF_LOWER   0x01
#define PY_CTF_UPPER   0x02
#define PY_CTF_ALPHA   (PY_CTF_LOWER|PY_CTF_UPPER)
#define PY_CTF_DIGIT   0x04
#define PY_CTF_ALNUM   (PY_CTF_ALPHA|PY_CTF_DIGIT)
#define PY_CTF_SPACE   0x08
#define PY_CTF_XDIGIT   0x10
#define Py_ISLOWER(c)   (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_LOWER)
#define Py_ISUPPER(c)   (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_UPPER)
#define Py_ISALPHA(c)   (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
#define Py_ISDIGIT(c)   (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
#define Py_ISXDIGIT(c)   (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
#define Py_ISALNUM(c)   (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
#define Py_ISSPACE(c)   (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
#define Py_TOLOWER(c)   (_Py_ctype_tolower[Py_CHARMASK(c)])
#define Py_TOUPPER(c)   (_Py_ctype_toupper[Py_CHARMASK(c)])

Variables

const unsigned int _Py_ctype_table [256]
const unsigned char _Py_ctype_tolower [256]
const unsigned char _Py_ctype_toupper [256]

Define Documentation

Definition at line 9 of file pyctype.h.

Definition at line 7 of file pyctype.h.

#define PY_CTF_DIGIT   0x04

Definition at line 8 of file pyctype.h.

#define PY_CTF_LOWER   0x01

Definition at line 5 of file pyctype.h.

#define PY_CTF_SPACE   0x08

Definition at line 10 of file pyctype.h.

#define PY_CTF_UPPER   0x02

Definition at line 6 of file pyctype.h.

#define PY_CTF_XDIGIT   0x10

Definition at line 11 of file pyctype.h.

Definition at line 23 of file pyctype.h.

Definition at line 20 of file pyctype.h.

Definition at line 21 of file pyctype.h.

Definition at line 18 of file pyctype.h.

Definition at line 24 of file pyctype.h.

Definition at line 19 of file pyctype.h.

Definition at line 22 of file pyctype.h.

#define Py_TOLOWER (   c)    (_Py_ctype_tolower[Py_CHARMASK(c)])

Definition at line 29 of file pyctype.h.

#define Py_TOUPPER (   c)    (_Py_ctype_toupper[Py_CHARMASK(c)])

Definition at line 30 of file pyctype.h.


Variable Documentation

const unsigned int _Py_ctype_table[256]

Definition at line 5 of file pyctype.c.

const unsigned char _Py_ctype_tolower[256]

Definition at line 145 of file pyctype.c.

const unsigned char _Py_ctype_toupper[256]

Definition at line 180 of file pyctype.c.