Skip to content

Commit

Permalink
[fix] allow underscores in python name
Browse files Browse the repository at this point in the history
  • Loading branch information
digikar99 committed Jan 6, 2024
1 parent 9d7f36f commit 636435c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/callpython.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ with-remote-objects, evaluates the last result and returns not just a handle."
(and (stringp name)
(every (lambda (char)
(or (alphanumericp char)
(char= char #\.)))
(member char '(#\. #\_) :test #'char=)))
name)))
(deftype python-name ()
`(and string (satisfies python-name-p)))
Expand Down

0 comments on commit 636435c

Please sign in to comment.