| Server IP : 217.160.0.64 / Your IP : 216.73.216.58 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : ws67269618 ( 67269618) PHP Version : 8.4.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /kunden/proc/self/root/kunden/proc/self/root/usr/share/emacs/30.1/lisp/progmodes/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 30.1
;;; with all optimizations.
#@221 Python interpreter for noninteractive use.
Some Python interpreters also require changes to
`python-interpreter-args'.
To customize the Python interpreter for interactive use, modify
`python-shell-interpreter' instead.#@2 #@62 Arguments for the Python interpreter for noninteractive use.#@27 Keymap for `python-mode'.#@18 Python Mode menu
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307\310\311#\210\300\312!\210\313\314\315\"\210\313\316\317\"\210\320\321\322\323!\324B\"\210\320\325\322\326!\324B\"\210\327\330\310\331\332\333\334\335\336\337& \210\340\341\342\343\344DD\345\334\346\347\350&\210\340\351\342\343\352DD\353\334\354\347\350&\207" [require ansi-color cl-lib comint treesit pcase compat project nil noerror seq autoload comint-mode "comint" help-function-arglist "help-fns" add-to-list auto-mode-alist purecopy "\\.py[iw]?\\'" python-mode interpreter-mode-alist "python[0-9.]*" custom-declare-group python "Python Language's flying circus support for Emacs." :group languages :version "24.3" :link (emacs-commentary-link "python") custom-declare-variable python-interpreter funcall function #[0 "\300\207" ["python"] 1 (#$ . 308)] (#$ . 84) "29.1" :type string python-interpreter-args #[0 "\300\207" [""] 1 (#$ . 308)] (#$ . 314) "30.1"] 10)
(defvar python-mode-map (byte-code "\301 \302\303\304#\210\302\305\306#\210\302\307\310#\210\302\311\312#\210\302\313\314#\210\302\315\316#\210\302\317\320#\210\302\321\322#\210\302\323\324#\210\302\325\326#\210\302\327\330#\210\302\331\332#\210\302\333\334#\210\302\335\336#\210\302\337\340#\210\302\341\342#\210\302\343\344#\210\302\345\346#\210\302\347\350#\210\302\351\352#\210\302\353\354#\210\302\355\356#\210\302\357\360#\210\302\361\362#\210\302\363\364#\210\302\365\366#\210\302\367\370#\210\302\371\372#\210\302\373\374#\210\302\375\376#\210\302\377\201@ #\210\302\201A \201B #\210\302\201C \201D #\210\201E \201F \201G $\210\201H \201I \201J \201K #\210\201L \201I \201M \201N $\210\207" [global-map make-sparse-keymap define-key [remap backward-sentence] python-nav-backward-block [remap forward-sentence] python-nav-forward-block [remap backward-up-list] python-nav-backward-up-list [remap up-list] python-nav-up-list [remap mark-defun] python-mark-defun "\n" imenu "" python-indent-dedent-line-backspace [backtab] python-indent-dedent-line "<" python-indent-shift-left ">" python-indent-shift-right "c" python-skeleton-class "d" python-skeleton-def "f" python-skeleton-for "i" python-skeleton-if "m" python-skeleton-import "t" python-skeleton-try "w" python-skeleton-while "" run-python "" python-shell-send-string "" python-shell-send-statement "" python-shell-send-region "\230" python-shell-send-defun "" python-shell-send-block "" python-shell-send-buffer "\f" python-shell-send-file "" python-shell-switch-to-shell "" python-check "" python-eldoc-at-point "" python-describe-at-point " a" python-add-import " f" python-fix-imports " r" python-remove-import " s" python-sort-imports substitute-key-definition complete-symbol completion-at-point defvar-1 python-menu nil (#$ . 411) easy-menu-do-define "Python Mode menu" ("Python" :help "Python-specific Features" ["Shift region left" python-indent-shift-left :active mark-active :help "Shift region left by a single indentation step"] ["Shift region right" python-indent-shift-right :active mark-active :help "Shift region right by a single indentation step"] "-" ["Start of def/class" beginning-of-defun :help "Go to start of outermost definition around point"] ["End of def/class" end-of-defun :help "Go to end of definition around point"] ["Mark def/class" mark-defun :help "Mark outermost definition around point"] ["Jump to def/class" imenu :help "Jump to a class or function definition"] "--" ("Skeletons") "---" ["Start interpreter" run-python :help "Run inferior Python process in a separate buffer"] ["Switch to shell" python-shell-switch-to-shell :help "Switch to running inferior Python process"] ["Eval string" python-shell-send-string :help "Eval string in inferior Python session"] ["Eval block" python-shell-send-block :help "Eval block in inferior Python session"] ["Eval buffer" python-shell-send-buffer :help "Eval buffer in inferior Python session"] ["Eval statement" python-shell-send-statement :help "Eval statement in inferior Python session"] ["Eval region" python-shell-send-region :help "Eval region in inferior Python session"] ["Eval defun" python-shell-send-defun :help "Eval defun in inferior Python session"] ["Eval file" python-shell-send-file :help "Eval file in inferior Python session"] ["Debugger" pdb :help "Run pdb under GUD"] "----" ["Check file" python-check :help "Check file for errors"] ["Help on symbol" python-eldoc-at-point :help "Get help on symbol at point"] ["Complete symbol" completion-at-point :help "Complete symbol before point"] "-----" ["Add import" python-add-import :help "Add an import statement to the top of this buffer"] ["Remove import" python-remove-import :help "Remove an import statement from the top of this buffer"] ["Sort imports" python-sort-imports :help "Sort the import statements at the top of this buffer"] ["Fix imports" python-fix-imports :help "Add missing imports and remove unused ones from the current buffer"])] 6) (#$ . 380))#@30 Keymap for `python-ts-mode'.
(defvar python-ts-mode-map (copy-keymap python-mode-map) (#$ . 5459))#@114 Python mode specialized rx macro.
This variant of `rx' supports common Python named REGEXPS.
(fn &rest REGEXPS)
(defalias 'python-rx '(macro . #[128 "\300\301\302BE\207" [rx-let ((sp-bsnl (or space (and 92 10))) (block-start (seq symbol-start (or "def" "class" "if" "elif" "else" "try" "except" "finally" "for" "while" "with" "match" "case" (and "async" (+ space) (or "def" "for" "with"))) symbol-end)) (dedenter (seq symbol-start (or "elif" "else" "except" "finally" "case") symbol-end)) (block-ender (seq symbol-start (or "break" "continue" "pass" "raise" "return") symbol-end)) (decorator (seq line-start (* space) 64 (any letter 95) (* (any word 95)))) (defun (seq symbol-start (or "def" "class" (and "async" (+ space) "def")) symbol-end)) (if-name-main (seq line-start "if" (+ space) "__name__" (+ space) "==" (+ space) (any 39 34) "__main__" (any 39 34) (* space) 58)) (symbol-name (seq (any letter 95) (* (any word 95)))) (assignment-target (seq (32 42) (* symbol-name 46) symbol-name (32 91 (+ (not 93)) 93))) (grouped-assignment-target (seq (32 42) (* symbol-name 46) (group symbol-name) (32 91 (+ (not 93)) 93))) (open-paren (or "{" "[" "(")) (close-paren (or "}" "]" ")")) (simple-operator (any 43 45 47 38 94 126 124 42 60 62 61 37)) (not-simple-operator (not (or simple-operator 10))) (operator (or "==" ">=" "**" "//" "<<" ">>" "<=" "!=" "+" "-" "/" "&" "^" "~" "|" "*" "<" ">" "=" "%")) (assignment-operator (or "+=" "-=" "*=" "/=" "//=" "%=" "**=" ">>=" "<<=" "&=" "^=" "|=" "=")) (string-delimiter (seq (or (not (any 92 39 34)) point (and (or (not (any 92)) point) 92 (* 92 92) (any 39 34))) (* 92 92) (group (or "\"\"\"" "\"" "'''" "'")))) (coding-cookie (seq line-start 35 (* space) (or (: "coding" (or 58 61) (* space) (group-n 1 (+ (or word 45)))) (: "-*-" (* space) "coding:" (* space) (group-n 1 (+ (or word 45))) (* space) "-*-") (: "vim:" (* space) "set" (+ space) "fileencoding" (* space) 61 (* space) (group-n 1 (+ (or word 45))) (* space) ":")))) (bytes-escape-sequence (seq (not "\\") (group (or "\\\\" "\\'" "\\a" "\\b" "\\f" "\\n" "\\r" "\\t" "\\v" (seq "\\" (** 1 3 (in "0-7"))) (seq "\\x" hex hex))))) (string-escape-sequence (or bytes-escape-sequence (seq (not "\\") (or (group-n 1 "\\u" (= 4 hex)) (group-n 1 "\\U" (= 8 hex)) (group-n 1 "\\N{" (*? anychar) "}")))))) rx] 5 (#$ . 5564)]))#@40
(fn FORM TYPE &optional SYNTAX-PPSS)
(defalias 'python-syntax--context-compiler-macro #[770 "\300\267\202C \301\302\303\304BBDC\305BB\207\301\302\303\306BBDC\307BB\207\301\302\303\310BBDC\311BB\207\301\302\303\312BBDC\313BB\207\314\315\303\316BBE\207\207" [#s(hash-table test equal purecopy t data ('comment 6 'string 19 'single-quoted-string 32 'triple-quoted-string 45 'paren 58)) let ppss or ((syntax-ppss)) ((and (nth 4 ppss) (nth 8 ppss))) ((syntax-ppss)) ((and (nth 3 ppss) (nth 8 ppss))) ((syntax-ppss)) ((and (characterp (nth 3 ppss)) (nth 8 ppss))) ((syntax-ppss)) ((and (eq t (nth 3 ppss)) (nth 8 ppss))) nth 1 ((syntax-ppss))] 8 (#$ . 7894)])#@243 Return non-nil if point is on TYPE using SYNTAX-PPSS.
TYPE can be `comment', `string', `single-quoted-string',
`triple-quoted-string' or `paren'. It returns the start
character address of the specified TYPE.
(fn TYPE &optional SYNTAX-PPSS)
(defalias 'python-syntax-context #[513 "\211\206 \300 \301\267\202<