mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 23:41:38 -05:00
jupyter-io (jupyter-server-kernel): Remove type checking on argument
The type checking happens inside the function already.
This commit is contained in:
parent
84282910f8
commit
7c3d3a70b4
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ this case FN will be evaluated on KERNEL."
|
|||
|
||||
;; The KERNEL argument is optional here so that `jupyter-launch'
|
||||
;; does not require more than one argument just to handle this case.
|
||||
(cl-defmethod jupyter-launch ((server jupyter-server) &optional (kernel string))
|
||||
(cl-defmethod jupyter-launch ((server jupyter-server) &optional kernel)
|
||||
(cl-check-type kernel string)
|
||||
(let* ((spec (jupyter-guess-kernelspec
|
||||
kernel (jupyter-kernelspecs server)))
|
||||
|
|
Loading…
Add table
Reference in a new issue