This website works better with JavaScript.
Home
Help
Sign In
ben
/
mwparserfromhell
mirror of
https://github.com/earwig/mwparserfromhell
Watch
1
Star
1
Fork
0
Code
Releases
24
Activity
Browse Source
Revert "nodes: Add __contains__ to Template"
This reverts commit
b87f4eef8f
.
pull/252/head
AntiCompositeNumber
4 years ago
parent
b87f4eef8f
commit
64691b93d3
No known key found for this signature in database
GPG Key ID:
A888A323AB506229
1 changed files
with
0 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-3
mwparserfromhell/nodes/template.py
+ 0
- 3
mwparserfromhell/nodes/template.py
View File
@@ -214,9 +214,6 @@ class Template(Node):
"""Alias for :meth:`has`."""
return self.has(name, ignore_empty)
def __contains__(self, name):
return self.has(name)
def get(self, name, default=_UNSET):
"""Get the parameter whose name is *name*.
Write
Preview
Loading…
Cancel
Save