Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(645)

Side by Side Diff: third_party/cython/src/Cython/Includes/cpython/instance.pxd

Issue 385073004: Adding cython v0.20.2 in third-party. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reference cython dev list thread. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 cdef extern from "Python.h":
2
3 ############################################################################
4 # 7.5.2 Instance Objects
5 ############################################################################
6
7 # PyTypeObject PyInstance_Type
8 #
9 # Type object for class instances.
10
11 int PyInstance_Check(object obj)
12 # Return true if obj is an instance.
13
14 object PyInstance_New(object cls, object arg, object kw)
15 # Return value: New reference.
16 # Create a new instance of a specific class. The parameters arg
17 # and kw are used as the positional and keyword parameters to the
18 # object's constructor.
19
20 object PyInstance_NewRaw(object cls, object dict)
21 # Return value: New reference.
22 # Create a new instance of a specific class without calling its
23 # constructor. class is the class of new object. The dict
24 # parameter will be used as the object's __dict__; if NULL, a new
25 # dictionary will be created for the instance.
OLDNEW
« no previous file with comments | « third_party/cython/src/Cython/Includes/cpython/getargs.pxd ('k') | third_party/cython/src/Cython/Includes/cpython/int.pxd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698