Skip to content

Commit d1fdab4

Browse files
committed
Update CPython versions
1 parent 18f41d7 commit d1fdab4

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

README.rst

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
Welcome to apipkg!
22
------------------------
33

4-
With apipkg you can control the exported namespace of a
5-
python package and greatly reduce the number of imports for your users.
6-
It is a `small pure python module`_ that works on virtually all Python
7-
versions, including CPython2.3 to Python3.1, Jython and PyPy. It co-operates
8-
well with Python's ``help()`` system, custom importers (PEP302) and common
9-
command line completion tools.
4+
With apipkg you can control the exported namespace of a Python package and
5+
greatly reduce the number of imports for your users.
6+
It is a `small pure Python module`_ that works on CPython 2.7 and 3.4+,
7+
Jython and PyPy. It cooperates well with Python's ``help()`` system,
8+
custom importers (PEP302) and common command-line completion tools.
109

1110
Usage is very simple: you can require 'apipkg' as a dependency or you
12-
can copy paste the <200 Lines of code into your project.
11+
can copy paste the ~200 lines of code into your project.
1312

1413

1514
Tutorial example
@@ -32,7 +31,7 @@ The package is initialized with a dictionary as namespace.
3231
You need to create a ``_mypkg`` package with a ``somemodule.py``
3332
and ``othermodule.py`` containing the respective classes.
3433
The ``_mypkg`` is not special - it's a completely
35-
regular python package.
34+
regular Python package.
3635

3736
Namespace dictionaries contain ``name: value`` mappings
3837
where the value may be another namespace dictionary or
@@ -53,7 +52,7 @@ loaded when they are accessed. This means:
5352
* lazy loading - only what is actually needed is ever loaded
5453

5554
* only the root "mypkg" ever needs to be imported to get
56-
access to the complete functionality.
55+
access to the complete functionality
5756

5857
* the underlying modules are also accessible, for example::
5958

@@ -69,7 +68,7 @@ for example ``_mypkg/apipkg.py`` in the above example. You
6968
then import the ``initpkg`` function from that new place and
7069
are good to go.
7170

72-
.. _`small pure python module`:
71+
.. _`small pure Python module`:
7372
.. _`apipkg.py`: https://github.com/pytest-dev/apipkg/blob/master/src/apipkg/__init__.py
7473

7574
Feedback?

0 commit comments

Comments
 (0)