[Zope3-checkins] CVS: Zope3/src/zope/security - checker.py:1.37
Sidnei da Silva
sidnei@x3ng.com.br
Tue, 24 Jun 2003 14:58:13 -0400
Update of /cvs-repository/Zope3/src/zope/security
In directory cvs.zope.org:/tmp/cvs-serv23017/src/zope/security
Modified Files:
checker.py
Log Message:
Made the introspector work for interfaces again, plus some whitespace cleanup here and there.
=== Zope3/src/zope/security/checker.py 1.36 => 1.37 ===
--- Zope3/src/zope/security/checker.py:1.36 Sun Jun 22 20:03:57 2003
+++ Zope3/src/zope/security/checker.py Tue Jun 24 14:58:12 2003
@@ -702,7 +702,7 @@
def f():
yield f
-
+
_default_checkers = {
dict: NamesChecker(['__getitem__', '__len__', '__iter__',
@@ -715,7 +715,7 @@
# YAGNI: () a rock
tuple: NamesChecker(['__getitem__', '__getslice__', '__add__', '__radd__',
- '__contains__', '__len__', '__iter__',
+ '__contains__', '__len__', '__iter__',
'__str__']),
types.InstanceType: _instanceChecker,
Proxy: NoProxy,