diff options
author | Damien George <damien.p.george@gmail.com> | 2018-03-15 15:50:51 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-03-15 15:50:51 +1100 |
commit | 0db49c37a4e8d2516ea0206f4e800b907cd4221f (patch) | |
tree | 9e0d9677ad47953eb577979dfd3060f79ad0c50f /docs/reference/constrained.rst | |
parent | c926e72750ddc410f2ae4f1b28d17dfb09b5ca2c (diff) |
docs: Fix some references and RST markup to eliminate Sphinx warnings.
Diffstat (limited to 'docs/reference/constrained.rst')
-rw-r--r-- | docs/reference/constrained.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/reference/constrained.rst b/docs/reference/constrained.rst index e7de459bc..edac0ae68 100644 --- a/docs/reference/constrained.rst +++ b/docs/reference/constrained.rst @@ -185,7 +185,7 @@ a file it will save RAM if this is done in a piecemeal fashion. Rather than creating a large string object, create a substring and feed it to the stream before dealing with the next. -The best way to create dynamic strings is by means of the string `format` +The best way to create dynamic strings is by means of the string ``format()`` method: .. code:: @@ -259,7 +259,7 @@ were a string. **Runtime compiler execution** The Python funcitons `eval` and `exec` invoke the compiler at runtime, which -requires significant amounts of RAM. Note that the `pickle` library from +requires significant amounts of RAM. Note that the ``pickle`` library from `micropython-lib` employs `exec`. It may be more RAM efficient to use the `ujson` library for object serialisation. |