 (defvar py-which-shell nil)
 (defvar pyd-which-shell nil)
 (defvar py-which-args  py-python-command-args)
+(defvar pyd-which-args  pyd-python-command-args)
 (defvar py-which-bufname "Python")
 (make-variable-buffer-local 'py-which-shell)
 (make-variable-buffer-local 'pyd-which-shell)
 (make-variable-buffer-local 'py-which-args)
+(make-variable-buffer-local 'pyd-which-args)
 (make-variable-buffer-local 'py-which-bufname)
 
 (defun py-toggle-shells (arg)

  "*List of string arguments to be used when starting a Python shell."
  :type '(repeat string)
  :group 'python)

(defcustom py-jpython-command-args '("-i")
  "*List of string arguments to be used when starting a JPython shell."

  :type 'string
  :group 'python)

(defcustom pyd-python-command "ppython"
  "*Shell command used to start Python interpreter."
  :type 'string
  :group 'python)
