
30 Sep
2002
30 Sep
'02
6:47 a.m.
g_f should be i2f.
SPAM END :) ___________
Method renaming: ----------------
class I1(interface): def f(self): ""
class I2(interface): def f(self, a, r, g, s): ""
class SomeClass:
def i_f(self): pass i1f.__implements__ = I1.f
def g_f(self, a, r, g, s): pass i2f.__implements__ = I2.f
[Note: if 'implements' is introduced as a keyword, as in the PEP, we=20 could just as well declare
def g_f(self, a, r, g, s) implements I2.f: ... ]
7480
Age (days ago)
7480
Last active (days ago)
0 comments
1 participants
participants (1)
-
Esteban U.C.. Castro