Skip to content

Commit 8d17d09

Browse files
committed
using py2 compatible code
1 parent c3dac4a commit 8d17d09

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolframclient/serializers/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def _serialize_external_object(self, o):
139139
yield "Type", "PythonFunction"
140140
try:
141141
# force tuple to avoid calling this method again on `map`.
142-
yield "Arguments", tuple(map(force_text, first(inspect.getfullargspec(o))))
142+
yield "Arguments", tuple(map(force_text, first(inspect.getargspec(o))))
143143
except TypeError:
144144
# this function can fail with TypeError unsupported callable
145145
pass

0 commit comments

Comments
 (0)