代码搜索结果

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

classobject.c

/* Portions Copyright (c) 2005 Nokia Corporation */ /* Class object implementation */ #include "Python.h" #include "structmember.h" #define TP_DESCR_GET(t) \ (PyType_HasFeature(t, Py_TP

listobject.c

/* Portions Copyright (c) 2005 Nokia Corporation */ /* List object implementation */ #include "Python.h" #ifdef STDC_HEADERS #include #else #include /* For size_t

fileobject.c

/* Portions Copyright (c) 2005 Nokia Corporation */ /* File object implementation */ #include "Python.h" #include "structmember.h" #ifndef DONT_HAVE_SYS_TYPES_H #include #end

bufferobject.c

/* Portions Copyright (c) 2005 Nokia Corporation */ /* Buffer object implementation */ #include "Python.h" typedef struct { PyObject_HEAD PyObject *b_base; void *b_ptr; int b_size;

dynload_shlib.c

/* Support for dynamic loading of extension modules */ #include "Python.h" #include "importdl.h" #include #include #if defined(__NetBSD__) #include

dynload_mac.c

/* Support for dynamic loading of extension modules */ #include "Python.h" #include "importdl.h" #include #include #ifdef USE_GUSI1 #include "TFileSpec.h" /*

dynload_beos.c

/* Support for dynamic loading of extension modules */ #include #include #include #include "Python.h" #include "importdl.h" const struct filedes

dynload_next.c

/* Support for dynamic loading of extension modules */ #include "Python.h" #include "importdl.h" #ifdef WITH_DYLD #define USE_DYLD #include #else /* WITH_DYLD */

buildindex.py

#! /usr/bin/env python __version__ = '$Revision: 1.11.26.1 $' import os import re import string import sys bang_join = "!".join null_join = "".join class Node: __rmjunk = re.c

umakefil

# -*- python -*- # # ***** BEGIN LICENSE BLOCK ***** # Source last modified: $Id: Umakefil,v 1.9.8.1 2004/07/09 02:08:08 hubbe Exp $ # # Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Right