Skip to content

Commit

Permalink
fixup! Python3.6+: Fix, added support for keyword arguments of "Modul…
Browse files Browse the repository at this point in the history
…eNotFoundError"
  • Loading branch information
kayhayen committed May 15, 2024
1 parent e77f9dc commit 63797e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nuitka/nodes/ExpressionBasesGenerated.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ class ChildrenHavingArgsTupleNameOptionalPathOptionalFinalNoRaiseMixin(Expressio

# This is generated for use in
# ExpressionBuiltinMakeExceptionImportError
# ExpressionBuiltinMakeExceptionModuleNotFoundError

def __init__(self, args, name, path, source_ref):
assert type(args) is tuple
Expand Down Expand Up @@ -390,6 +391,9 @@ def collectVariableAccesses(self, emit_read, emit_write):
ExpressionBuiltinMakeExceptionImportErrorBase = (
ChildrenHavingArgsTupleNameOptionalPathOptionalFinalNoRaiseMixin
)
ExpressionBuiltinMakeExceptionModuleNotFoundErrorBase = (
ChildrenHavingArgsTupleNameOptionalPathOptionalFinalNoRaiseMixin
)


class ChildrenHavingCallableArgSentinelFinalMixin(ExpressionBase):
Expand Down

0 comments on commit 63797e2

Please sign in to comment.