Skip to content

Commit a2b7f78

Browse files
committed
Fix for recent get_name() interface change
We see a failure in pymathics classes that subclass AtomicBuiltin(). In particular, the upcoming `pymathics.graph`.
1 parent c280808 commit a2b7f78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mathics/builtin/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@ class AtomBuiltin(Builtin):
385385
# which are by default not in the definitions' contribution pipeline.
386386
# see Image[] for an example of this.
387387

388-
def get_name(self) -> str:
389-
name = super(AtomBuiltin, self).get_name()
388+
def get_name(self, short=False) -> str:
389+
name = super(AtomBuiltin, self).get_name(short=short)
390390
return re.sub(r"Atom$", "", name)
391391

392392

0 commit comments

Comments
 (0)