代码搜索:Python
找到约 10,000 项符合「Python」的源代码
代码结果 10,000
www.eeworm.com/read/456693/1604455
py traceback.py
# Portions Copyright (c) 2005 Nokia Corporation
"""Extract, format and print information about Python stack traces."""
import linecache
import sys
import types
__all__ = ['extract_stack', 'e
www.eeworm.com/read/456693/1604480
c xreadlinesmodule.c
/* Portions Copyright (c) 2005 Nokia Corporation */
#include "Python.h"
#ifdef SYMBIAN
static PyObject* _mod_dict_get_s(char* s)
{
PyInterpreterState *interp = PyThreadState_Get()->interp;
www.eeworm.com/read/456693/1604578
c grammar1.c
/* Portions Copyright (c) 2005 Nokia Corporation */
/* Grammar subroutines needed by parser */
#include "Python.h"
#include "pgenheaders.h"
#include "grammar.h"
#include "token.h"
/* Retur
www.eeworm.com/read/456693/1604605
c weakrefobject.c
/* Portions Copyright (c) 2005 Nokia Corporation */
#include "Python.h"
#include "structmember.h"
#define GET_WEAKREFS_LISTPTR(o) \
((PyWeakReference **) PyObject_GET_WEAKREFS_LISTPTR(o)
www.eeworm.com/read/456693/1604613
c abstract.c
/* Portions Copyright (c) 2005 Nokia Corporation */
/* Abstract Object Interface (many thanks to Jim Fulton) */
#include "Python.h"
#include
#include "structmember.h" /* we need the
www.eeworm.com/read/456693/1604618
c frameobject.c
/* Portions Copyright (c) 2005 Nokia Corporation */
/* Frame object implementation */
#include "Python.h"
#include "compile.h"
#include "frameobject.h"
#include "opcode.h"
#include "struct
www.eeworm.com/read/456693/1604624
c intobject.c
/* Portions Copyright (c) 2005 Nokia Corporation */
/* Integer object implementation */
#include "Python.h"
#include
long
PyInt_GetMax(void)
{
return LONG_MAX; /* To initialize
www.eeworm.com/read/456693/1604631
c typeobject.c
/* Portions Copyright (c) 2005-2006 Nokia Corporation */
/* Type object implementation */
#include "Python.h"
#include "structmember.h"
#include
/* The *real* layout of a type obj
www.eeworm.com/read/456693/1604647
c getplatform.c
/* Portions Copyright (c) 2005 Nokia Corporation */
#include "Python.h"
#ifndef PLATFORM
#define PLATFORM "unknown"
#endif
DL_EXPORT(const char *)
Py_GetPlatform(void)
{
return PLATFORM
www.eeworm.com/read/456693/1604672
c import.c
/* Portions Copyright (c) 2005 Nokia Corporation */
/* Module definition and import implementation */
#include "Python.h"
#include "node.h"
#include "token.h"
#include "errcode.h"
#include