Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
5f0b23cb
Commit
5f0b23cb
authored
Oct 11, 2013
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move misplaced PyObject_Format() C-API declaration to right .pxd file
parent
e36fc998
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
Cython/Includes/cpython/buffer.pxd
Cython/Includes/cpython/buffer.pxd
+1
-0
Cython/Includes/cpython/object.pxd
Cython/Includes/cpython/object.pxd
+5
-0
No files found.
Cython/Includes/cpython/buffer.pxd
View file @
5f0b23cb
...
...
@@ -103,6 +103,7 @@ cdef extern from "Python.h":
# bytes” of the given length. Return 0 on success and -1 (with
# raising an error) on error.
# DEPRECATED HERE: do not cimport from here, cimport from cpython.object instead
object
PyObject_Format
(
object
obj
,
object
format_spec
)
# Takes an arbitrary object and returns the result of calling
# obj.__format__(format_spec).
Cython/Includes/cpython/object.pxd
View file @
5f0b23cb
...
...
@@ -285,3 +285,8 @@ cdef extern from "Python.h":
# and returns NULL if the object cannot be iterated.
Py_ssize_t
Py_SIZE
(
object
o
)
object
PyObject_Format
(
object
obj
,
object
format_spec
)
# Takes an arbitrary object and returns the result of calling
# obj.__format__(format_spec).
# Added in Py2.6
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment