Skip to content
Snippets Groups Projects
Commit 0a258931 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Pickling fix for primitives.If

parent 936e1403
Branches
Tags
No related merge requests found
......@@ -934,10 +934,10 @@ class If(Expression):
.. attribute:: else_
"""
init_arg_names = ("criterion", "then", "else_")
init_arg_names = ("condition", "then", "else_")
def __init__(self, criterion, then, else_):
self.condition = criterion
def __init__(self, condition, then, else_):
self.condition = condition
self.then = then
self.else_ = else_
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment