Skip to content

Instantly share code, notes, and snippets.

@jun66j5
Created December 29, 2011 16:01
Show Gist options
  • Save jun66j5/1534717 to your computer and use it in GitHub Desktop.
Save jun66j5/1534717 to your computer and use it in GitHub Desktop.
pypy-genshi-0.6.diff
--- genshi/core.py.orig 2010-04-22 21:09:52.000000000 +0900
+++ genshi/core.py 2011-12-30 00:57:18.858232418 +0900
@@ -353,6 +353,7 @@
for attr, _ in self:
if attr == name:
return True
+ return False
def __getitem__(self, i):
"""Return an item or slice of the attributes list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment