Skip to content

Commit 0504509

Browse files
committed
Merge pull request #222 in LCL/wolframclientforpython from bugfix/382954-inspect to master
* commit '8d17d0929424e312a948d037735fd1bf4f9a2992': using py2 compatible code
2 parents c3dac4a + 8d17d09 commit 0504509

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)