diff options
| author | Damien George | 2018-03-15 15:50:51 +1100 |
|---|---|---|
| committer | Damien George | 2018-03-15 15:50:51 +1100 |
| commit | 0db49c37a4e8d2516ea0206f4e800b907cd4221f (patch) | |
| tree | 9e0d9677ad47953eb577979dfd3060f79ad0c50f /docs/reference/packages.rst | |
| parent | c926e72750ddc410f2ae4f1b28d17dfb09b5ca2c (diff) | |
docs: Fix some references and RST markup to eliminate Sphinx warnings.
Diffstat (limited to 'docs/reference/packages.rst')
| -rw-r--r-- | docs/reference/packages.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/reference/packages.rst b/docs/reference/packages.rst index e1609985a..8be2461c2 100644 --- a/docs/reference/packages.rst +++ b/docs/reference/packages.rst @@ -42,7 +42,7 @@ size, which means that to uncompress a compressed stream, 32KB of contguous memory needs to be allocated. This requirement may be not satisfiable on low-memory devices, which may have total memory available less than that amount, and even if not, a contiguous block like that -may be hard to allocate due to `memory fragmentation`. To accommodate +may be hard to allocate due to memory fragmentation. To accommodate these constraints, MicroPython distribution packages use Gzip compression with the dictionary size of 4K, which should be a suitable compromise with still achieving some compression while being able to uncompressed @@ -243,7 +243,7 @@ the data files as "resources", and abstracting away access to them. Python supports resource access using its "setuptools" library, using ``pkg_resources`` module. MicroPython, following its usual approach, implements subset of the functionality of that module, specifically -`pkg_resources.resource_stream(package, resource)` function. +``pkg_resources.resource_stream(package, resource)`` function. The idea is that an application calls this function, passing a resource identifier, which is a relative path to data file within the specified package (usually top-level application package). It |
