diff options
Diffstat (limited to 'apidoc/api.rst')
-rwxr-xr-x | apidoc/api.rst | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apidoc/api.rst b/apidoc/api.rst index 170f932..d3db5c9 100755 --- a/apidoc/api.rst +++ b/apidoc/api.rst @@ -7,7 +7,7 @@ API Reference :synopsis: WSGI micro framework .. moduleauthor:: Marcel Hellkamp <marc@paws.de> -This is an API reference, NOT a documentation. If you are new to bottle, have a look at the :doc:`tutorial`. +This is an API reference, NOT documentation. If you are new to bottle, have a look at the :doc:`tutorial`. Module Contents ===================================== @@ -20,6 +20,10 @@ The module defines several functions, constants, and an exception. .. autofunction:: debug +.. autofunction:: run + +.. autofunction:: load_app + .. autodata:: request .. autodata:: response @@ -112,7 +116,7 @@ The :class:`Response` class on the other hand stores header and cookie data that .. note:: - You usually don't instantiate :class:`Request` or :class:`Response` yourself, but use the module-level instances :data:`bottle.request` and :data:`bottle.response` only. These hold the context for the current request cycle and are updated on every request. Their attributes are thread-local, so it is save to use the global instance in multi-threaded environments too. + You usually don't instantiate :class:`Request` or :class:`Response` yourself, but use the module-level instances :data:`bottle.request` and :data:`bottle.response` only. These hold the context for the current request cycle and are updated on every request. Their attributes are thread-local, so it is safe to use the global instance in multi-threaded environments too. .. autoclass:: Request :members: |