Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5187d58

Browse filesBrowse files
authored
Merge pull request #988 from davidshq/master
- Minor enhancements to clibs and admin scenarios
2 parents 4241add + 011423c commit 5187d58
Copy full SHA for 5187d58

File tree

Expand file treeCollapse file tree

2 files changed

+10
-9
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+10
-9
lines changed

‎docs/scenarios/admin.rst

Copy file name to clipboardExpand all lines: docs/scenarios/admin.rst
+5-4Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -392,10 +392,11 @@ Buildout
392392

393393
`Buildout <http://www.buildout.org>`_ is an open source software build tool.
394394
Buildout is created using the Python programming language. It implements a
395-
principle of separation of configuration from the scripts that do the setting up.
396-
Buildout is primarily used to download and set up dependencies in Python eggs
397-
format of the software being developed or deployed. Recipes for build tasks in any
398-
environment can be created, and many are already available.
395+
principle of separation of configuration from the scripts that do the setting
396+
up. Buildout is primarily used to download and set up dependencies in `Python
397+
eggs <https://stackoverflow.com/questions/2051192/what-is-a-python-egg>`_
398+
format of the software being developed or deployed. Recipes for build tasks in
399+
any environment can be created, and many are already available.
399400

400401

401402
*******

‎docs/scenarios/clibs.rst

Copy file name to clipboardExpand all lines: docs/scenarios/clibs.rst
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ C Foreign Function Interface
1212

1313
`CFFI <https://cffi.readthedocs.io/en/latest/>`_ provides a simple to use
1414
mechanism for interfacing with C from both CPython and PyPy. It supports two
15-
modes: an inline ABI compatibility mode (example provided below), which allows
15+
modes: an inline `ABI <https://stackoverflow.com/questions/2171177/what-is-an-application-binary-interface-abi>`_ compatibility mode (example provided below), which allows
1616
you to dynamically load and run functions from executable modules (essentially
17-
exposing the same functionality as LoadLibrary or dlopen), and an API mode,
17+
exposing the same functionality as `LoadLibrary <https://docs.microsoft.com/en-us/windows/desktop/api/libloaderapi/nf-libloaderapi-loadlibrarya>`_ or `dlopen <https://www.tldp.org/HOWTO/C++-dlopen/index.html>`_), and an API mode,
1818
which allows you to build C extension modules.
1919

2020
ABI Interaction
@@ -41,13 +41,13 @@ library for interfacing with C/C++ from CPython, and it provides not only
4141
full access to the native C interface of most major operating systems (e.g.,
4242
kernel32 on Windows, or libc on \*nix), but also provides support for loading
4343
and interfacing with dynamic libraries, such as DLLs or shared objects, at
44-
runtime. It does bring along with it a whole host of types for interacting
44+
runtime. It brings along with it a whole host of types for interacting
4545
with system APIs, and allows you to rather easily define your own complex
4646
types, such as structs and unions, and allows you to modify things such as
4747
padding and alignment, if needed. It can be a bit crufty to use, but in
48-
conjunction with the `struct <https://docs.python.org/3.5/library/struct.html>`_
48+
conjunction with the `struct <https://docs.python.org/3/library/struct.html>`_
4949
module, you are essentially provided full control over how your data types get
50-
translated into something usable by a pure C(++) method.
50+
translated into something usable by a pure C/C++ method.
5151

5252
Struct Equivalents
5353
~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.