Back to index

python3.2  3.2.2
Functions
ctype.h File Reference
#include "bytes_methods.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static PyObjectstringlib_isspace (PyObject *self)
static PyObjectstringlib_isalpha (PyObject *self)
static PyObjectstringlib_isalnum (PyObject *self)
static PyObjectstringlib_isdigit (PyObject *self)
static PyObjectstringlib_islower (PyObject *self)
static PyObjectstringlib_isupper (PyObject *self)
static PyObjectstringlib_istitle (PyObject *self)
static PyObjectstringlib_lower (PyObject *self)
static PyObjectstringlib_upper (PyObject *self)
static PyObjectstringlib_title (PyObject *self)
static PyObjectstringlib_capitalize (PyObject *self)
static PyObjectstringlib_swapcase (PyObject *self)

Function Documentation

static PyObject* stringlib_capitalize ( PyObject self) [static]

Definition at line 88 of file ctype.h.

{
    PyObject* newobj;
    newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self));
    if (!newobj)
            return NULL;
    _Py_bytes_capitalize(STRINGLIB_STR(newobj), STRINGLIB_STR(self),
                      STRINGLIB_LEN(self));
    return newobj;
}

Here is the call graph for this function:

static PyObject* stringlib_isalnum ( PyObject self) [static]

Definition at line 19 of file ctype.h.

{
    return _Py_bytes_isalnum(STRINGLIB_STR(self), STRINGLIB_LEN(self));
}

Here is the call graph for this function:

static PyObject* stringlib_isalpha ( PyObject self) [static]

Definition at line 13 of file ctype.h.

{
    return _Py_bytes_isalpha(STRINGLIB_STR(self), STRINGLIB_LEN(self));
}

Here is the call graph for this function:

static PyObject* stringlib_isdigit ( PyObject self) [static]

Definition at line 25 of file ctype.h.

{
    return _Py_bytes_isdigit(STRINGLIB_STR(self), STRINGLIB_LEN(self));
}

Here is the call graph for this function:

static PyObject* stringlib_islower ( PyObject self) [static]

Definition at line 31 of file ctype.h.

{
    return _Py_bytes_islower(STRINGLIB_STR(self), STRINGLIB_LEN(self));
}

Here is the call graph for this function:

static PyObject* stringlib_isspace ( PyObject self) [static]

Definition at line 7 of file ctype.h.

{
    return _Py_bytes_isspace(STRINGLIB_STR(self), STRINGLIB_LEN(self));
}

Here is the call graph for this function:

static PyObject* stringlib_istitle ( PyObject self) [static]

Definition at line 43 of file ctype.h.

{
    return _Py_bytes_istitle(STRINGLIB_STR(self), STRINGLIB_LEN(self));
}

Here is the call graph for this function:

static PyObject* stringlib_isupper ( PyObject self) [static]

Definition at line 37 of file ctype.h.

{
    return _Py_bytes_isupper(STRINGLIB_STR(self), STRINGLIB_LEN(self));
}

Here is the call graph for this function:

static PyObject* stringlib_lower ( PyObject self) [static]

Definition at line 52 of file ctype.h.

{
    PyObject* newobj;
    newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self));
    if (!newobj)
            return NULL;
    _Py_bytes_lower(STRINGLIB_STR(newobj), STRINGLIB_STR(self),
                 STRINGLIB_LEN(self));
    return newobj;
}

Here is the call graph for this function:

static PyObject* stringlib_swapcase ( PyObject self) [static]

Definition at line 100 of file ctype.h.

{
    PyObject* newobj;
    newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self));
    if (!newobj)
            return NULL;
    _Py_bytes_swapcase(STRINGLIB_STR(newobj), STRINGLIB_STR(self),
                    STRINGLIB_LEN(self));
    return newobj;
}

Here is the call graph for this function:

static PyObject* stringlib_title ( PyObject self) [static]

Definition at line 76 of file ctype.h.

{
    PyObject* newobj;
    newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self));
    if (!newobj)
            return NULL;
    _Py_bytes_title(STRINGLIB_STR(newobj), STRINGLIB_STR(self),
                 STRINGLIB_LEN(self));
    return newobj;
}

Here is the call graph for this function:

static PyObject* stringlib_upper ( PyObject self) [static]

Definition at line 64 of file ctype.h.

{
    PyObject* newobj;
    newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self));
    if (!newobj)
            return NULL;
    _Py_bytes_upper(STRINGLIB_STR(newobj), STRINGLIB_STR(self),
                 STRINGLIB_LEN(self));
    return newobj;
}

Here is the call graph for this function: