Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
304500cd
Commit
304500cd
authored
May 08, 2010
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Markup fixes
parent
8e343860
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Doc/whatsnew/2.7.rst
Doc/whatsnew/2.7.rst
+2
-2
No files found.
Doc/whatsnew/2.7.rst
View file @
304500cd
...
...
@@ -1346,7 +1346,7 @@ changes, or look through the Subversion logs for all the details.
will execute the code at a provided *path* argument. *path* can be
the path of a Python source file (:file:`example.py`), a compiled
bytecode file (:file:`example.pyc`), a directory
(:file:`./package/
'
), or a zip archive (:file:`example.zip`). If a
(:file:`./package/
`
), or a zip archive (:file:`example.zip`). If a
directory or zip path is provided, it will be added to the front of
``sys.path`` and the module :mod:`__main__` will be imported. It's
expected that the directory or zip contains a :file:`__main__.py`;
...
...
@@ -2132,7 +2132,7 @@ Capsules
Python 3.1 adds a new C datatype, :ctype:`PyCapsule`, for providing a
C API to an extension module. A capsule is essentially the holder for
a C ``void *`` pointer, and is bound to a module attribute; for
example, the :mod:`socket` module's API is exposed as ``socket.CAPI`,
example, the :mod:`socket` module's API is exposed as ``socket.CAPI`
`
,
and :mod:`unicodedata` calls it ``ucnhash_CAPI``. Other extensions
can import the module, access its dictionary to get the capsule
object, and then get the ``void *`` pointer, which will usually point
...
...
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