mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Second-argument alias methods were generated with a variation on
MethodGenerator, this should be OSErrMethodGenerator.
This commit is contained in:
parent
9a40c1c299
commit
248f6f1f73
2 changed files with 53 additions and 53 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue