Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim <jim@38b22f21-9aea-0310-abfc-843a9883df58>2009-05-06 03:26:31 (GMT)
committer jim <jim@38b22f21-9aea-0310-abfc-843a9883df58>2009-05-06 03:26:31 (GMT)
commit81176f70f3cc4c699aff7c166a535bfec8ccfca2 (patch)
treefc75398435d3ae8adf578d751341774067ab51f9
parentebd54f50ebbae13b48883a085774a97cc61dd88a (diff)
with is a reserved word in Python 2.6+
git-svn-id: https://exe.svn.sourceforge.net/svnroot/exe/trunk@3591 38b22f21-9aea-0310-abfc-843a9883df58
-rw-r--r--nevow/context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nevow/context.py b/nevow/context.py
index a3bbf03..2546fc1 100644
--- a/nevow/context.py
+++ b/nevow/context.py
@@ -34,7 +34,7 @@ class WebContext(object):
isAttrib = property(lambda self: False)
inURL = property(lambda self: False)
precompile = property(lambda self: False)
- def with(self, tag):
+ def xwith(self, tag):
warnings.warn("use WovenContext(parent, tag) instead", DeprecationWarning, stacklevel=2)
return WovenContext(self, tag)