[Zodb-checkins] CVS: Zope3/src/zodb/code - class_.py:1.13
Albertas Agejevas
alga@codeworks.lt
Thu, 13 Mar 2003 13:49:28 -0500
Update of /cvs-repository/Zope3/src/zodb/code
In directory cvs.zope.org:/tmp/cvs-serv1411/src/zodb/code
Modified Files:
class_.py
Log Message:
An unexpected raid by the Whitespace Police.
Other than fixes of nonconforming whitespace, just a couple of $Id$
docstrings has been added.
=== Zope3/src/zodb/code/class_.py 1.12 => 1.13 ===
--- Zope3/src/zodb/code/class_.py:1.12 Tue Mar 4 18:52:44 2003
+++ Zope3/src/zodb/code/class_.py Thu Mar 13 13:48:57 2003
@@ -31,7 +31,7 @@
class SimpleDescriptor(object):
missing = object()
-
+
def __init__(self, value):
self._value = value
@@ -138,7 +138,7 @@
def __init__(self, name, descr, val, hook):
super(ExtClassHookDataDescr, self).__init__(name, descr, val)
self.hook = hook
-
+
def clsset(self, val):
self.val = val
self.hook()
@@ -327,7 +327,7 @@
def __getstate__(cls):
dict = {}
-
+
for k in cls.__dict__.keys():
v = getattr(cls, k)
if isinstance(v, PersistentMethod):
@@ -386,7 +386,7 @@
def __getnewargs__(cls):
# XXX This should really be _p_getnewargs() or something like that.
-
+
# If the class is later loaded and unghostified, the arguments
# passed to __new__() won't have an __module__. It seems that
# the module gets set to zodb.code.class_ in that case, which