summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2015-03-05 10:11:56 -0600
committerMichael Merickel <michael@merickel.org>2015-03-05 10:13:00 -0600
commitec46918c86d4b1e82a1555ed488d453c65663549 (patch)
tree7d4d08797c36d3579c373418f754a084fd6123b0
parent6279cc428b2464066f67e4795045680bb3d59973 (diff)
downloadpyramid-ec46918c86d4b1e82a1555ed488d453c65663549.tar.gz
pyramid-ec46918c86d4b1e82a1555ed488d453c65663549.tar.bz2
pyramid-ec46918c86d4b1e82a1555ed488d453c65663549.zip
add clone to the IRendererInfo interface
-rw-r--r--pyramid/interfaces.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyramid/interfaces.py b/pyramid/interfaces.py
index 4c171f9cc..bab91b0ee 100644
--- a/pyramid/interfaces.py
+++ b/pyramid/interfaces.py
@@ -382,6 +382,9 @@ class IRendererInfo(Interface):
settings = Attribute('The deployment settings dictionary related '
'to the current application')
+ def clone():
+ """ Return a shallow copy that does not share any mutable state."""
+
class IRendererFactory(Interface):
def __call__(info):
""" Return an object that implements