aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/cython/Cython/Includes/cpython/instance.pxd
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:15 +0300
commit72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch)
treeda2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /contrib/tools/cython/Cython/Includes/cpython/instance.pxd
parent778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff)
downloadydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/cython/Cython/Includes/cpython/instance.pxd')
-rw-r--r--contrib/tools/cython/Cython/Includes/cpython/instance.pxd50
1 files changed, 25 insertions, 25 deletions
diff --git a/contrib/tools/cython/Cython/Includes/cpython/instance.pxd b/contrib/tools/cython/Cython/Includes/cpython/instance.pxd
index aecdc0cfd7..e009a5b8f2 100644
--- a/contrib/tools/cython/Cython/Includes/cpython/instance.pxd
+++ b/contrib/tools/cython/Cython/Includes/cpython/instance.pxd
@@ -1,25 +1,25 @@
-cdef extern from "Python.h":
-
- ############################################################################
- # 7.5.2 Instance Objects
- ############################################################################
-
- # PyTypeObject PyInstance_Type
- #
- # Type object for class instances.
-
- int PyInstance_Check(object obj)
- # Return true if obj is an instance.
-
- object PyInstance_New(object cls, object arg, object kw)
- # Return value: New reference.
- # Create a new instance of a specific class. The parameters arg
- # and kw are used as the positional and keyword parameters to the
- # object's constructor.
-
- object PyInstance_NewRaw(object cls, object dict)
- # Return value: New reference.
- # Create a new instance of a specific class without calling its
- # constructor. class is the class of new object. The dict
- # parameter will be used as the object's __dict__; if NULL, a new
- # dictionary will be created for the instance.
+cdef extern from "Python.h":
+
+ ############################################################################
+ # 7.5.2 Instance Objects
+ ############################################################################
+
+ # PyTypeObject PyInstance_Type
+ #
+ # Type object for class instances.
+
+ int PyInstance_Check(object obj)
+ # Return true if obj is an instance.
+
+ object PyInstance_New(object cls, object arg, object kw)
+ # Return value: New reference.
+ # Create a new instance of a specific class. The parameters arg
+ # and kw are used as the positional and keyword parameters to the
+ # object's constructor.
+
+ object PyInstance_NewRaw(object cls, object dict)
+ # Return value: New reference.
+ # Create a new instance of a specific class without calling its
+ # constructor. class is the class of new object. The dict
+ # parameter will be used as the object's __dict__; if NULL, a new
+ # dictionary will be created for the instance.