代码搜索结果

找到约 10,000 项符合 Python 的代码

getpath.c

/* Portions Copyright (c) 2005 Nokia Corporation */ /* Return the initial module search path. */ #include "Python.h" #include "osdefs.h" #ifndef SYMBIAN #include #include

mathmodule.c

/* Portions Copyright (c) 2005 Nokia Corporation */ /* Math module -- standard C math library functions, pi and e */ #include "Python.h" #include "longintrepr.h" #ifndef _MSC_VER #ifndef __ST

timemodule.c

/* Portions Copyright (c) 2005 - 2007 Nokia Corporation */ /* Time module */ #include "Python.h" #include "structseq.h" #include #ifdef macintosh #include #include

symtablemodule.c

#include "Python.h" #include "compile.h" #include "symtable.h" static PyObject * symtable_symtable(PyObject *self, PyObject *args) { struct symtable *st; PyObject *t; char *str; cha

gdbmmodule.c

/* DBM module using dictionary interface */ /* Author: Anthony Baxter, after dbmmodule.c */ /* Doc strings: Mitch Chapman */ #include "Python.h" #include #include

pwdmodule.c

/* UNIX password file access module */ #include "Python.h" #include #include static char pwd__doc__ [] = "\ This module provides access to the Unix password database

grpmodule.c

/* UNIX group file access module */ #include "Python.h" #include #include static PyObject * mkgrent(struct group *p) { PyObject *v, *w; char **member;

fmmodule.c

/* Font Manager module */ #include "Python.h" #include #include #include /* Font Handle object implementation */ typedef struct { PyObject_HEAD fmf

cmathmodule.c

/* Complex math module */ /* much code borrowed from mathmodule.c */ #include "Python.h" #ifndef M_PI #define M_PI (3.141592653589793239) #endif /* First, the C functions that do the rea

funcobject.c

/* Portions Copyright (c) 2005 Nokia Corporation */ /* Function object implementation */ #include "Python.h" #include "compile.h" #include "eval.h" #include "structmember.h" DL_EXPORT(PyOb