Second-argument alias methods were generated with a variation on

MethodGenerator, this should be OSErrMethodGenerator.
This commit is contained in:
Jack Jansen 2002-12-26 20:45:43 +00:00
parent 9a40c1c299
commit 248f6f1f73
2 changed files with 53 additions and 53 deletions

View file

@ -527,7 +527,7 @@ class AliasDefinition(PEP253Mixin, ObjectDefinition):
# Alias methods come in two flavors: those with the alias as arg1 and
# those with the alias as arg 2.
class Arg2MethodGenerator(MethodGenerator):
class Arg2MethodGenerator(OSErrMethodGenerator):
"""Similar to MethodGenerator, but has self as second argument"""
def parseArgumentList(self, args):