jupyter-io (jupyter-server-kernel): Remove type checking on argument

The type checking happens inside the function already.
This commit is contained in:
Nathaniel Nicandro 2023-01-28 16:47:29 -06:00
parent 84282910f8
commit 7c3d3a70b4

View file

@ -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)))