summaryrefslogtreecommitdiff
path: root/paste/registry.py
diff options
context:
space:
mode:
Diffstat (limited to 'paste/registry.py')
-rw-r--r--paste/registry.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/paste/registry.py b/paste/registry.py
index 9100074..fba1822 100644
--- a/paste/registry.py
+++ b/paste/registry.py
@@ -23,7 +23,7 @@ WSGI application everything will work properly.
Example:
-.. code-block:: Python
+.. code-block:: python
#yourpackage/__init__.py
@@ -63,7 +63,7 @@ thousands of times per request, the performance of the proxy will start to
become more noticeable. In that circumstance, the problem can be avoided by
getting at the actual object via the proxy with the ``_current_obj`` function:
-.. code-block:: Python
+.. code-block:: python
#sessions.py
Session = StackedObjectProxy()
@@ -198,7 +198,7 @@ class StackedObjectProxy(object):
This should be used like:
- .. code-block:: Python
+ .. code-block:: python
obj = yourobject()
module.glob = StackedObjectProxy()