403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/proc/self/root/kunden/proc/self/root/usr/share/emacs/30.1/lisp/progmodes/python.elc
;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<\3028\205=\3038\207\3048\205=\3038\207\305\3048!\205=\3038\207\3048\306=\205=\3038\207\211A@\207\307\207" [syntax-ppss #s(hash-table test eq purecopy t data (comment 12 string 22 single-quoted-string 32 triple-quoted-string 44 paren 56)) 4 8 3 characterp t nil] 6 (#$ . 8563)])#@129 Return the context type using SYNTAX-PPSS.
The type returned can be `comment', `string' or `paren'.

(fn &optional SYNTAX-PPSS)
(byte-code "\300\301\302\303#\300\207" [function-put python-syntax-context compiler-macro python-syntax--context-compiler-macro] 4)
(defalias 'python-syntax-context-type #[256 "\211\206\300 \3018\203\3028\203\303\207\304\207\211A@\205\305\207" [syntax-ppss 8 4 comment string paren] 4 (#$ . 9171)])#@74 Return non-nil if PPSS is inside comment or string.

(fn &optional PPSS)
(defalias 'python-syntax-comment-or-string-p #[256 "\300\206\301 8\207" [8 syntax-ppss] 3 (#$ . 9613)])#@56 Return non-nil if char after point is a closing paren.
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put python-syntax-comment-or-string-p speed -1 put byte-optimizer byte-compile-inline-expand] 5)
(defalias 'python-syntax-closing-paren-p #[0 "\300\301`!!\302=\207" [syntax-class syntax-after 5] 3 (#$ . 9798)])#@48 Return syntactic face given STATE.

(fn STATE)
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put python-syntax-closing-paren-p speed -1 put byte-optimizer byte-compile-inline-expand] 5)
(defalias 'python-font-lock-syntactic-face-function #[257 "\3038\203\304!\203\207	\207\n\207" [font-lock-doc-face font-lock-string-face font-lock-comment-face 3 python-info-docstring-p] 3 (#$ . 10131)])#@157 A regular expression matching the beginning of an f-string.

See URL `https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals'.
(defconst python--f-string-start-regexp "\\<\\(?:F[Rr]\\|R[Ff]\\|f[Rr]\\|r[Ff]\\|[Ff]\\)\\(?:\"\"\"\\|'''\\|[\"']\\)" (#$ . 10549))#@82 Return non-nil if the pos where PPSS was found is inside an f-string.

(fn PPSS)
(defalias 'python--f-string-p #[257 "\3018\2057\3028S\303\304Ze]\305\\d^\"\306\307\310$\266\203\2055eW\2065\206/`Sfz\311>?\266\202\207" [python--f-string-start-regexp 3 8 buffer-substring-no-properties 4 2 nil string-match t (119 95)] 11 (#$ . 10842)])#@160 Mark {...} holes as being code.
Remove the (presumably `font-lock-string-face') `face' property from
the {...} holes that appear within f-strings.

(fn LIMIT)
(defalias 'python--font-lock-f-strings #[257 "\302 \303!\204\304\305#\203\302 \262\202`W\205\206\303!\204'\306\307!\210\212\3108b\210\3111@\312\313\314!)\210`S^0\202B\210)\304\315\316#\203y\312f\317=\203X\314u\210\202C\320\224\3211i\322\314!\210`^0\202k\210\211b\210\323\324\312$\266\202CT^b\210\302 \266\202\202\207" [python--f-string-start-regexp forward-sexp-function syntax-ppss python--f-string-p re-search-forward move cl--assertion-failed (python--f-string-p ppss) 8 (scan-error) nil forward-sexp 1 "{" t 123 0 (scan-error) up-list put-text-property face] 10 (#$ . 11197)])#@69 A regular expression matching the start of a not-raw bytes literal.
(defconst python--not-raw-bytes-literal-start-regexp "\\(?:\\`\\|[^[:alnum:]]\\)[Bb]\\(?:\"\"\"\\|'''\\|[\"']\\)\\'" (#$ . 11978))#@70 A regular expression matching the start of a not-raw string literal.
(defconst python--not-raw-string-literal-start-regexp "\\`\\(?:\\(?:[^[:alnum:]]?[FUfu]\\)?\\(?:\"\"\"\\|'''\\)\\|[^z-a]?[^[:alnum:]]\\(?:\"\"\"\\|'''\\)\\|\\(?:[^z-a]\\{0,2\\}[^[:alnum:]]\\)?[FUfu][\"']\\|\\(?:[^z-a]\\{0,3\\}[^\"'[:alnum:]]\\)?[\"']\\)\\'" (#$ . 12182))#@107 Match REGEXP within a string or bytes literal whose start matches START-REGEXP.

(fn REGEXP START-REGEXP)#@14 

(fn LIMIT)
(defalias 'python--string-bytes-literal-matcher #[514 "\300\301#\207" [make-closure #[257 "\302\211\211\303\301\304#\262\2055\305\306 8\211\205!\307\310Ze]Td^\"\211\2053\311u\210\300\302\312\304$\266\203\266\202\262\203D\204D\210\302\202\205I\207" [V0 V1 nil re-search-forward t 8 syntax-ppss buffer-substring-no-properties 4 -1 string-match] 14 (#$ . 12640)]] 6 (#$ . 12529)])#@150 Font lock keywords to use in `python-mode' for level 1 decoration.

This is the minimum decoration level, including function and
class declarations.
(defvar python-font-lock-keywords-level-1 (byte-code "\300\301B\302\303BD\207" ["\\_<def[[:space:]]+\\([_[:alpha:]][_[:word:]]*\\)" ((1 font-lock-function-name-face)) "\\_<class[[:space:]]+\\([_[:alpha:]][_[:word:]]*\\)" ((1 font-lock-type-face))] 3) (#$ . 13061))#@201 Font lock keywords to use in `python-mode' for level 2 decoration.

This is the medium decoration level, including everything in
`python-font-lock-keywords-level-1', as well as keywords and
builtins.
(defvar python-font-lock-keywords-level-2 (byte-code "\301\302\303\304BD\"\207" [python-font-lock-keywords-level-1 append "\\_<\\(?:and\\|del\\|from\\|not\\|while\\|as\\|elif\\|global\\|or\\|with\\|assert\\|else\\|if\\|pass\\|yield\\|break\\|except\\|import\\|class\\|in\\|raise\\|continue\\|finally\\|is\\|return\\|def\\|for\\|lambda\\|try\\|nonlocal\\|async[[:space:]]+\\(?:def\\|for\\|with\\)\\|await\\|match\\|case\\|self\\)\\_>" "\\_<\\(?:__\\(?:\\(?:a\\(?:ll\\|nnotations\\)\\|c\\(?:\\(?:losur\\|od\\)e\\)\\|d\\(?:efaults\\|ict\\|oc\\)\\|globals\\|import\\|kwdefaults\\|\\(?:modul\\|nam\\|packag\\|qualnam\\)e\\)__\\)\\|a\\(?:bs\\|ll\\|ny\\|pply\\|scii\\)\\|b\\(?:asestring\\|in\\|ool\\|reakpoint\\|uffer\\|yte\\(?:array\\|s\\)\\)\\|c\\(?:allable\\|hr\\|lassmethod\\|mp\\|o\\(?:erce\\|mp\\(?:ile\\|lex\\)\\)\\)\\|d\\(?:elattr\\|i\\(?:ct\\|r\\|vmod\\)\\)\\|e\\(?:numerate\\|val\\|xec\\(?:file\\)?\\)\\|f\\(?:il\\(?:e\\|ter\\)\\|\\(?:loa\\|orma\\|rozense\\)t\\)\\|g\\(?:etattr\\|lobals\\)\\|h\\(?:as\\(?:attr\\|h\\)\\|e\\(?:lp\\|x\\)\\)\\|i\\(?:d\\|n\\(?:put\\|t\\(?:ern\\)?\\)\\|s\\(?:instance\\|subclass\\)\\|ter\\)\\|l\\(?:en\\|ist\\|o\\(?:cals\\|ng\\)\\)\\|m\\(?:a[px]\\|emoryview\\|in\\)\\|next\\|o\\(?:bject\\|ct\\|pen\\|rd\\)\\|p\\(?:ow\\|r\\(?:int\\|operty\\)\\)\\|r\\(?:a\\(?:nge\\|w_input\\)\\|e\\(?:duce\\|load\\|pr\\|versed\\)\\|ound\\)\\|s\\(?:et\\(?:attr\\)?\\|lice\\|orted\\|t\\(?:aticmethod\\|r\\)\\|u\\(?:m\\|per\\)\\)\\|t\\(?:\\(?:upl\\|yp\\)e\\)\\|unic\\(?:hr\\|ode\\)\\|vars\\|xrange\\|zip\\)\\_>" font-lock-builtin-face] 5) (#$ . 13481))#@472 Font lock matcher for assignments based on REGEXP.
Search for next occurrence if REGEXP matched within a `paren'
context (to avoid, e.g., default values for arguments or passing
arguments by name being treated as assignments) or is followed by
an '=' sign (to avoid '==' being treated as an assignment.  Set
point to the position one character before the end of the
occurrence found so that subsequent searches can detect the '='
sign in chained assignment.

(fn REGEXP)
(defalias 'python-font-lock-assignment-matcher #[257 "\300\301\"\207" [make-closure #[257 "\301\211\302\300\303#\203$\304 A@\204\301f\305=\204\306u\266\303\301\211\262\204\207" [V0 nil re-search-forward t syntax-ppss 61 -1] 7 (#$ . 12640)]] 4 (#$ . 15251)])#@214 Font lock keywords to use in `python-mode' for maximum decoration.

This decoration level includes everything in
`python-font-lock-keywords-level-2', as well as constants,
decorators, exceptions, and assignments.
(defvar python-font-lock-keywords-maximum-decoration (byte-code "\303\304\305\306B\307\310B\311\312B\313\314!\315\316\317\320BF\313\321!\322\323\324\325BF\313\326!\327B\330\331B\332\333	\"\334B\332\335\n\"\336B\257	\"B\207" [python-font-lock-keywords-level-2 python--not-raw-bytes-literal-start-regexp python--not-raw-string-literal-start-regexp (python--font-lock-f-strings) append "\\_<\\(?:Ellipsis\\|False\\|No\\(?:ne\\|tImplemented\\)\\|True\\|__debug__\\|c\\(?:opyright\\|redits\\)\\|exit\\|license\\|quit\\)\\_>" font-lock-constant-face "^[	 ]*\\(@[_[:word:]]+\\(?:\\.[_[:word:]]+\\)*\\)" ((1 font-lock-type-face)) "\\_<\\(?:A\\(?:\\(?:rithmetic\\|ssertion\\|ttribute\\)Error\\)\\|B\\(?:aseException\\|lockingIOError\\|rokenPipeError\\|ufferError\\|ytesWarning\\)\\|C\\(?:\\(?:hildProcess\\|onnection\\(?:Aborted\\|Re\\(?:fused\\|set\\)\\)?\\)Error\\)\\|DeprecationWarning\\|E\\(?:OFError\\|nvironmentError\\|xception\\(?:Group\\)?\\)\\|F\\(?:ile\\(?:\\(?:Exists\\|NotFound\\)Error\\)\\|loatingPointError\\|utureWarning\\)\\|GeneratorExit\\|I\\(?:OError\\|mport\\(?:Error\\|Warning\\)\\|\\(?:n\\(?:de\\(?:ntation\\|x\\)\\|terrupted\\)\\|sADirectory\\)Error\\)\\|Key\\(?:Error\\|boardInterrupt\\)\\|LookupError\\|MemoryError\\|N\\(?:\\(?:ame\\|ot\\(?:ADirectory\\|Implemented\\)\\)Error\\)\\|O\\(?:\\(?:S\\|verflow\\)Error\\)\\|P\\(?:e\\(?:ndingDeprecationWarning\\|rmissionError\\)\\|rocessLookupError\\)\\|R\\(?:e\\(?:cursionError\\|ferenceError\\|sourceWarning\\)\\|untime\\(?:Error\\|Warning\\)\\)\\|S\\(?:t\\(?:andardError\\|op\\(?:\\(?:Async\\)?Iteration\\)\\)\\|y\\(?:ntax\\(?:Error\\|Warning\\)\\|stemE\\(?:rror\\|xit\\)\\)\\)\\|T\\(?:\\(?:ab\\|imeout\\|ype\\)Error\\)\\|U\\(?:n\\(?:boundLocalError\\|icode\\(?:DecodeError\\|E\\(?:\\(?:ncodeE\\)?rror\\)\\|TranslateError\\|Warning\\)\\)\\|serWarning\\)\\|V\\(?:\\(?:MS\\|alue\\)Error\\)\\|W\\(?:arning\\|indowsError\\)\\|ZeroDivisionError\\)\\_>" font-lock-type-face python-font-lock-assignment-matcher "\\*?\\(?:[_[:alpha:]][_[:word:]]*\\.\\)*\\([_[:alpha:]][_[:word:]]*\\)\\(?:\\[[^]]+]\\)?[[:space:]]*\\(?::[[:space:]]*\\([^\n%&*+/<->^|~-]+\\)[[:space:]]*\\)?\\(\\(?:\\(?:\\*\\*\\|//\\|<<\\|>>\\|[%&*+/|^-]\\)?=\\)\\)" (1 font-lock-variable-name-face) (3 'font-lock-operator-face) "[_[:alpha:]][_[:word:]]*" ((progn (when-let ((type-start (match-beginning 2))) (goto-char type-start)) (match-end 0)) nil (0 font-lock-type-face)) "\\(?:[([][[:space:]]*\\)?\\*?\\(?:[_[:alpha:]][_[:word:]]*\\.\\)*\\([_[:alpha:]][_[:word:]]*\\)\\(?:\\[[^]]+]\\)?[[:space:]]*,[[:space:]]*\\(?:\\*?\\(?:[_[:alpha:]][_[:word:]]*\\.\\)*[_[:alpha:]][_[:word:]]*\\(?:\\[[^]]+]\\)?[[:space:]]*,[[:space:]]*\\)*\\(?:\\*?\\(?:[_[:alpha:]][_[:word:]]*\\.\\)*[_[:alpha:]][_[:word:]]*\\(?:\\[[^]]+]\\)?[[:space:]]*\\)?\\(?:,[[:space:]]*\\)?\\(?:[])][[:space:]]*\\)?\\(\\(?:\\(?:\\*\\*\\|//\\|<<\\|>>\\|[%&*+/|^-]\\)?=\\)\\)" (1 font-lock-variable-name-face) (2 'font-lock-operator-face) "\\*?\\(?:[_[:alpha:]][_[:word:]]*\\.\\)*\\([_[:alpha:]][_[:word:]]*\\)\\(?:\\[[^]]+]\\)?" ((progn (goto-char (match-end 1)) (match-beginning 2)) nil (1 font-lock-variable-name-face)) "\\(?:^\\|[;=]\\)[[:space:]]*[([][[:space:]]*\\*?\\(?:[_[:alpha:]][_[:word:]]*\\.\\)*\\([_[:alpha:]][_[:word:]]*\\)\\(?:\\[[^]]+]\\)?[[:space:]]*[])][[:space:]]*\\(\\(?:\\(?:\\*\\*\\|//\\|<<\\|>>\\|[%&*+/|^-]\\)?=\\)\\)" ((1 font-lock-variable-name-face) (2 'font-lock-operator-face)) "\\(?:!=\\|\\*\\*\\|//\\|<[<=]\\|==\\|>[=>]\\|[%&*+/<=>|~^-]\\)" 'font-lock-operator-face python--string-bytes-literal-matcher "[^\\]\\(\\\\\\\\\\|\\\\'\\|\\\\a\\|\\\\b\\|\\\\f\\|\\\\n\\|\\\\r\\|\\\\t\\|\\\\v\\|\\\\[0-7]\\{1,3\\}\\|\\\\x[[:xdigit:]][[:xdigit:]]\\)" ((1 font-lock-constant-face t)) "[^\\]\\(\\\\\\\\\\|\\\\'\\|\\\\a\\|\\\\b\\|\\\\f\\|\\\\n\\|\\\\r\\|\\\\t\\|\\\\v\\|\\\\[0-7]\\{1,3\\}\\|\\\\x[[:xdigit:]][[:xdigit:]]\\)\\|[^\\]\\(?:\\(?1:\\\\u[[:xdigit:]]\\{4\\}\\)\\|\\(?1:\\\\U[[:xdigit:]]\\{8\\}\\)\\|\\(?1:\\\\N{[^z-a]*?}\\)\\)" ((1 'font-lock-constant-face t))] 14) (#$ . 15997))#@149 List of font lock keyword specifications to use in `python-mode'.

Which one will be chosen depends on the value of
`font-lock-maximum-decoration'.
(defvar python-font-lock-keywords '(python-font-lock-keywords-level-1 python-font-lock-keywords-level-1 python-font-lock-keywords-level-2 python-font-lock-keywords-maximum-decoration) (#$ . 20210))#@18 

(fn START END)
(defconst python-syntax-propertize-function #[514 "b\210`W\205\300\301\302#\205\303 \210\202\207" [re-search-forward "\\(?:\"\"\"\\|'''\\)" t python-syntax-stringify] 6 (#$ . 20561)])#@54 Value for `prettify-symbols-alist' in `python-mode'.
(byte-code "\300\301\302\303#\210\304\211\203&\211@\301N\203!\302N\204!\305\302\301N#\210\210A\202\210\306\301\302\307#\207" [defvaralias python--prettify-symbols-alist python-prettify-symbols-alist nil (saved-value saved-variable-comment) put make-obsolete-variable "26.1"] 7)
(defvar python-prettify-symbols-alist '(("lambda" . 955) ("and" . 8743) ("or" . 8744)) (#$ . 20776))#@249 Count number of quotes around point (max is 3).
QUOTE-CHAR is the quote char to count.  Optional argument POINT is
the point where scan starts (defaults to current point), and LIMIT
is used to limit the scan.

(fn QUOTE-CHAR &optional POINT LIMIT)
(defalias 'python-syntax-count-quotes #[769 "\300\211\301W\203 \203\\W\203 \\f=\203 T\202\207" [0 3] 6 (#$ . 21223)])#@64 Put `syntax-table' property correctly on single/triple quotes.
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put python-syntax-count-quotes speed -1 put byte-optimizer byte-compile-inline-expand] 5)
(defalias 'python-syntax-stringify #[0 "\212\300u\210\301 )\3028\303=\205\3048\3028\247`\302Z`\3058\204-\203/\306ff\"\204/\307\207\3108\2039Tb\207\203?\307\207\204K\311S\312\313$\207\311\211T\312\313$\207" [-3 syntax-ppss 3 t 8 4 eql nil 5 put-text-property syntax-table (15)] 10 (#$ . 21608)])#@32 Syntax table for Python files.
(defvar python-mode-syntax-table (byte-code "\300 \301 \302\211\303W\203#\211\304U\204H\305\232\203\306\307#\210T\202\266\306\310\307#\210\306\311\307#\210\306\312\313#\210\306\314\315#\210\306\316\317#\210\306\320\321#\210\207" [make-syntax-table standard-syntax-table 0 128 95 (3) modify-syntax-entry "." 36 37 35 "<" 10 ">" 39 "\"" 96 "$"] 7) (#$ . 22145))#@92 Dotty syntax table for Python files.
It makes underscores and dots word constituent chars.
(defvar python-dotty-syntax-table (byte-code "\301!\302\303\304#\210\302\305\304#\210\207" [python-mode-syntax-table make-syntax-table modify-syntax-entry 46 "w" 95] 5) (#$ . 22559))
(defvar python--treesit-keywords '("as" "assert" "async" "await" "break" "case" "class" "continue" "def" "del" "elif" "else" "except" "exec" "finally" "for" "from" "global" "if" "import" "lambda" "match" "nonlocal" "pass" "print" "raise" "return" "try" "while" "with" "yield" "and" "in" "is" "not" "or" "not in" "is not"))
(defvar python--treesit-builtin-types '("int" "float" "complex" "bool" "list" "tuple" "range" "str" "bytes" "bytearray" "memoryview" "set" "frozenset" "dict"))
(defvar python--treesit-type-regex (byte-code "\301\302\303\304\305\306\"B\307BBB!\207" [python--treesit-builtin-types rx-to-string seq bol or append ((seq (32 "_") (any "A-Z") (+ (any "a-zA-Z_0-9")))) (eol)] 7))
(defvar python--treesit-builtins (append python--treesit-builtin-types '("abs" "all" "any" "ascii" "bin" "breakpoint" "callable" "chr" "classmethod" "compile" "delattr" "dir" "divmod" "enumerate" "eval" "exec" "filter" "format" "getattr" "globals" "hasattr" "hash" "help" "hex" "id" "input" "isinstance" "issubclass" "iter" "len" "locals" "map" "max" "min" "next" "object" "oct" "open" "ord" "pow" "print" "property" "repr" "reversed" "round" "setattr" "slice" "sorted" "staticmethod" "sum" "super" "type" "vars" "zip" "__import__")))
(defvar python--treesit-constants '("Ellipsis" "False" "None" "NotImplemented" "True" "__debug__" "copyright" "credits" "exit" "license" "quit"))
(defvar python--treesit-operators '("-" "-=" "!=" "*" "**" "**=" "*=" "/" "//" "//=" "/=" "&" "&=" "%" "%=" "^" "^=" "+" "->" "+=" "<" "<<" "<<=" "<=" "<>" "=" ":=" "==" ">" ">=" ">>" ">>=" "|" "|=" "~" "@" "@="))
(defvar python--treesit-special-attributes '("__annotations__" "__closure__" "__code__" "__defaults__" "__dict__" "__doc__" "__globals__" "__kwdefaults__" "__name__" "__module__" "__package__" "__qualname__" "__all__"))
(defvar python--treesit-exceptions '("ArithmeticError" "AssertionError" "AttributeError" "BaseException" "BufferError" "BytesWarning" "DeprecationWarning" "EOFError" "EnvironmentError" "Exception" "FloatingPointError" "FutureWarning" "GeneratorExit" "IOError" "ImportError" "ImportWarning" "IndentationError" "IndexError" "KeyError" "KeyboardInterrupt" "LookupError" "MemoryError" "NameError" "NotImplementedError" "OSError" "OverflowError" "PendingDeprecationWarning" "ReferenceError" "RuntimeError" "RuntimeWarning" "StopIteration" "SyntaxError" "SyntaxWarning" "SystemError" "SystemExit" "TabError" "TypeError" "UnboundLocalError" "UnicodeDecodeError" "UnicodeEncodeError" "UnicodeError" "UnicodeTranslateError" "UnicodeWarning" "UserWarning" "ValueError" "Warning" "ZeroDivisionError" "StandardError" "BlockingIOError" "BrokenPipeError" "ChildProcessError" "ConnectionAbortedError" "ConnectionError" "ConnectionRefusedError" "ConnectionResetError" "FileExistsError" "FileNotFoundError" "InterruptedError" "IsADirectoryError" "NotADirectoryError" "PermissionError" "ProcessLookupError" "RecursionError" "ResourceWarning" "StopAsyncIteration" "TimeoutError" "ExceptionGroup" "VMSError" "WindowsError"))#@244 Fontify string.
NODE is the string node.  Do not fontify the initial f for
f-strings.  OVERRIDE is the override flag described in
`treesit-font-lock-rules'.  START and END mark the region to be
fontified.

(fn NODE OVERRIDE START END &rest _)#@14 

(fn FEATS)#@11 

(fn CH)
(defalias 'python--treesit-fontify-string #[1156 "\302!\302\211!!\303!\304\235\204U\211\204a\305\306\211\305\203#\307!\202&\307!\262\203G\303!\310\232\204=\210\305\211\211\262\202>\306\203G\305\262\202\203P\266\202U\266\203\203a\303!\311\232\203a\312\202b\313\314\315\316	\"\"?\211\203tC\202z\317	\320\306#\211\211\205\267\211@\321!\322!\204\223\303!\323\232\203\244\212b\210\324\325\306#\203\243\326\224\262)\327	&\266A\202{\207" [treesit-font-lock-feature-list treesit-font-lock-level treesit-node-parent treesit-node-type ("function_definition" "class_definition") nil t treesit-node-prev-sibling "comment" "expression_statement" font-lock-doc-face font-lock-string-face seq-some #[257 "\300>\207" [string-interpolation] 3 (#$ . 26107)] seq-take treesit-filter-child #[257 "\300!\301\235\207" [treesit-node-type ("string_start" "string_content" "string_end")] 3 (#$ . 26125)] treesit-node-start treesit-node-end "string_start" re-search-forward "[\"']" 0 treesit-fontify-with-override] 21 (#$ . 25859)])#@558 Fontify nested union types in the type hints.
For example, Lvl1 | Lvl2[Lvl3[Lvl4[Lvl5 | None]], Lvl2].  This
structure is represented via nesting binary_operator and
subscript nodes.  This function iterates over all levels and
highlight identifier nodes.  If TYPE-REGEX is not nil fontify type
identifier only if it matches against TYPE-REGEX.  NODE is the
binary_operator node.  OVERRIDE is the override flag described in
`treesit-font-lock-rules'.  START and END mark the region to be
fontified.

(fn NODE OVERRIDE START END &optional TYPE-REGEX &rest _)
(defalias 'python--treesit-fontify-union-types #[1412 "\301\302\"\211\205k\211@\303\304!\211\305\267\210\2029\266\211\2029\306\307\"\211\203'\211\262\266\2029\310\n\n\n\n%\266\211\203e\203T\303\311!\303\312\302$)\266\203\203e\313\314!\315!\316&\210\266A\202\207" [case-fold-search treesit-node-children t nil treesit-node-type #s(hash-table test equal purecopy t data ("none" 22 "identifier" 22 "attribute" 28 "subscript" 44 "binary_operator" 44)) treesit-node-child-by-field-name "attribute" python--treesit-fontify-union-types treesit-node-text string-match treesit-fontify-with-override treesit-node-start treesit-node-end font-lock-type-face] 17 (#$ . 27209)])#@274 Fontify nested union types.
Same as `python--treesit-fontify-union-types' but type identifier
should match against `python--treesit-type-regex'.  For NODE,
OVERRIDE, START and END description see
`python--treesit-fontify-union-types'.

(fn NODE OVERRIDE START END &rest _)
(defalias 'python--treesit-fontify-union-types-strict #[1156 "\301%\207" [python--treesit-type-regex python--treesit-fontify-union-types] 11 (#$ . 28477)])#@323 Fontify dotted decorators.
For example @pytes.mark.skip.  Iterate over all nested attribute
nodes and highlight identifier nodes.  NODE is the first attribute
node.  OVERRIDE is the override flag described in
`treesit-font-lock-rules'.  START and END mark the region to be
fontified.

(fn NODE OVERRIDE START END &rest _)
(defalias 'python--treesit-fontify-dotted-decorator #[1156 "\300\301\"\211\2059\211@\302!\211\303\267\266\2025\304\305!\306!\307\n\n\n&\266\2025\310$\266A\202\207" [treesit-node-children t treesit-node-type #s(hash-table test equal purecopy t data ("identifier" 21 "attribute" 42)) treesit-fontify-with-override treesit-node-start treesit-node-end font-lock-type-face python--treesit-fontify-dotted-decorator] 15 (#$ . 28917)])#@33 Tree-sitter font-lock settings.
(defvar python--treesit-settings (byte-code "\306\307\310\311\312\313\307\314\311\312\315\307\316\311\312\317!\320B\307\321\311\312\322\307\323\311\312\324\325\326\327\330\331\332\333\334	B\335BBB!\336BB\257\337\340\341\327\330\331\332\333\334\nB\342BBB!\343BB\257D\307\344\311\312\345\307\346\311\312\347\307\350\311\312\351\307\352\311\312\353\307\354\311\312\355\356\357\360\330\331\332\333\334B\361BBB!\362BBE\363\364\365\366\367\370\371\324\325\372\373\374\375\376\377\330\f\201@BB\257\257\201AB\201BBBBBBBBBB\307\201C\311\312\355\356\201D\307\201E\311\312\201F\307\201G\311\312\201H\307\201I\311\312\317
!\201JB\307\201K\311\312\201L\307\201M\311\312\201N\307\201O\311\312\201P&Y\207" [python--treesit-keywords python--treesit-builtins python--treesit-special-attributes python--treesit-exceptions python--treesit-type-regex python--treesit-operators treesit-font-lock-rules :feature comment :language python ((comment) @font-lock-comment-face) string ((string) @python--treesit-fontify-string (interpolation ["{" "}"] @font-lock-misc-punctuation-face)) keyword vconcat (@font-lock-keyword-face ((identifier) @font-lock-keyword-face (:match "\\`self\\'" @font-lock-keyword-face))) definition ((function_definition name: (identifier) @font-lock-function-name-face) (class_definition name: (identifier) @font-lock-type-face) (parameters (identifier) @font-lock-variable-name-face) (parameters (typed_parameter (identifier) @font-lock-variable-name-face)) (parameters (default_parameter name: (identifier) @font-lock-variable-name-face))) builtin call function: (identifier) @font-lock-builtin-face :match rx-to-string seq bol or (eol) (@font-lock-builtin-face) attribute attribute: (identifier) (eol) (@font-lock-builtin-face) decorator ((decorator "@" @font-lock-type-face) (decorator (call function: (identifier) @font-lock-type-face)) (decorator (identifier) @font-lock-type-face) (decorator [(attribute) (call (attribute))] @python--treesit-fontify-dotted-decorator)) function ((call function: (identifier) @font-lock-function-call-face) (call function: (attribute attribute: (identifier) @font-lock-function-call-face))) constant ([(true) (false) (none)] @font-lock-constant-face) assignment ((assignment left: (identifier) @font-lock-variable-name-face) (assignment left: (attribute attribute: (identifier) @font-lock-variable-name-face)) (augmented_assignment left: (identifier) @font-lock-variable-name-face) (named_expression name: (identifier) @font-lock-variable-name-face) (for_statement left: (identifier) @font-lock-variable-name-face) (pattern_list [(identifier) (list_splat_pattern (identifier))] @font-lock-variable-name-face) (tuple_pattern [(identifier) (list_splat_pattern (identifier))] @font-lock-variable-name-face) (list_pattern [(identifier) (list_splat_pattern (identifier))] @font-lock-variable-name-face)) type :override t (identifier) @font-lock-type-face (eol) (@font-lock-type-face) (type [(identifier) (none)] @font-lock-type-face) (type (attribute attribute: (identifier) @font-lock-type-face)) (type (_ !attribute [[(identifier) (none)] @font-lock-type-face (attribute attribute: (identifier) @font-lock-type-face)])) (type (subscript (attribute attribute: (identifier) @font-lock-type-face))) (type (binary_operator) @python--treesit-fontify-union-types) (class_definition superclasses: (argument_list [(identifier) @font-lock-type-face (attribute attribute: (identifier) @font-lock-type-face) (subscript (identifier) @font-lock-type-face) (subscript (attribute attribute: (identifier) @font-lock-type-face))])) (class_pattern (dotted_name (identifier) @font-lock-type-face :anchor)) (identifier) @func-name argument_list :anchor (_) [(identifier) @font-lock-type-face (attribute attribute: (identifier) @font-lock-type-face) (tuple (identifier) @font-lock-type-face) (tuple (attribute attribute: (identifier) @font-lock-type-face))] (@font-lock-type-face) ((:match "^is\\(?:instance\\|subclass\\)$" @func-name)) (((call function: (identifier) @func-name (argument_list :anchor (_) (binary_operator) @python--treesit-fontify-union-types-strict)) (:match "^is\\(?:instance\\|subclass\\)$" @func-name))) escape-sequence ((escape_sequence) @font-lock-escape-face) number ([(integer) (float)] @font-lock-number-face) property ((attribute attribute: (identifier) @font-lock-property-use-face) (class_definition body: (block (expression_statement (assignment left: (identifier) @font-lock-property-use-face))))) operator (@font-lock-operator-face) bracket (["(" ")" "[" "]" "{" "}"] @font-lock-bracket-face) delimiter (["," "." ":" ";" (ellipsis)] @font-lock-delimiter-face) variable ((identifier) @python--treesit-fontify-variable)] 90) (#$ . 29695))#@82 Check whether NODE is a variable.
NODE's type should be "identifier".

(fn NODE)
(defalias 'python--treesit-variable-p #[257 "\300\301!!\211\302\267\202\303\207\304!\211\305\232\262??\207\306\207" [treesit-node-type treesit-node-parent #s(hash-table test equal purecopy t data ("parameters" 11 "class_definition" 11 "function_definition" 11 "attribute" 13)) nil treesit-node-field-name "object" t] 5 (#$ . 34440)])#@160 Fontify an identifier node if it is a variable.
For NODE, OVERRIDE, START, END, and ARGS, see
`treesit-font-lock-rules'.

(fn NODE OVERRIDE START END &rest _)
(defalias 'python--treesit-fontify-variable #[1156 "\300!\205\301\302!\303!\304&\207" [python--treesit-variable-p treesit-fontify-with-override treesit-node-start treesit-node-end font-lock-variable-use-face] 12 (#$ . 34866)])#@72 Propertize triple-quote strings between START and END.

(fn START END)
(defalias 'python--treesit-syntax-propertize #[514 "\212b\210\300\301\302#\2057\303`\304Z!\305!\211\306\267\266\202\307`S`\310\311$\266\202\307`\304Z`\312Z\310\311$\266\202)\207" [re-search-forward "\\(?:\"\"\"\\|'''\\)" t treesit-node-at 3 treesit-node-type #s(hash-table test equal purecopy t data ("string_start" 28 "string_end" 40)) put-text-property syntax-table (15) 2] 9 (#$ . 35271)])#@40 Default indentation offset for Python.#@66 Non-nil tells Python mode to guess `python-indent-offset' value.#@66 Non-nil means to emit a warning when indentation guessing fails.#@58 Commands that might trigger a `python-indent-line' call.#@776 Multiplier applied to indentation inside multi-line blocks.
The indentation in parens in the block header will be the current
indentation plus `python-indent-offset' multiplied by this
variable.  For example, the arguments are indented as follows if
this variable is 1:

    def do_something(
        arg1,
        arg2):
        print('hello')

if this variable is 2 (default):

    def do_something(
            arg1,
            arg2):
        print('hello')

This variable has an effect on all blocks, not just def block.
This variable only works if the opening paren is not followed by
non-whitespace characters on the same line.  Modify
`python-indent-block-paren-deeper' to customize the case where
non-whitespace characters follow the opening paren on the same
line.#@632 Increase indentation inside parens of a block.
If non-nil, increase the indentation of the lines inside parens
in a header of a block when they are indented to the same level
as the body of the block:

    if (some_expression
            and another_expression):
        do_something()

instead of:

    if (some_expression
        and another_expression):
        do_something()

This variable only works if the opening paren is followed by
non-whitespace characters on the same line.  Modify
`python-indent-def-block-scale' to customize the case where
non-whitespace character does not follow the opening paren on the
same line.#@45 Deprecated var available for compatibility.
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\315\310\316&\210\300\317\302\303\320DD\321\322\323\306\315\310\316&	\210\300\324\302\303\325DD\326\306\327%\210\300\330\302\303\331DD\332\322\333\306\307\310\334&	\210\300\335\302\303\336DD\337\322\340\306\315\310\316&	\207" [custom-declare-variable python-indent-offset funcall function #[0 "\300\207" [4] 1 (#$ . 308)] (#$ . 35753) :type integer :safe integerp python-indent-guess-indent-offset #[0 "\300\207" [t] 1 (#$ . 308)] (#$ . 35797) boolean booleanp python-indent-guess-indent-offset-verbose #[0 "\300\207" [t] 1 (#$ . 308)] (#$ . 35867) :version "25.1" python-indent-trigger-commands #[0 "\300\207" [(indent-for-tab-command yas-expand yas/expand)] 1 (#$ . 308)] (#$ . 35937) (repeat symbol) python-indent-def-block-scale #[0 "\300\207" [2] 1 (#$ . 308)] (#$ . 36000) "26.1" natnump python-indent-block-paren-deeper #[0 "\300\207" [nil] 1 (#$ . 308)] (#$ . 36781) "30.1"] 10)
(defvar python-indent-current-level 0 (#$ . 37417))
(defvar python-indent-levels '(0) (#$ . 37417))#@62 Guess and set `python-indent-offset' for the current buffer.
(byte-code "\300\301\302\303#\210\300\304\302\303#\207" [make-obsolete-variable python-indent-current-level "The indentation API changed to avoid global state.\nThe function `python-indent-calculate-levels' does not use it\nanymore.  If you were defadvising it and or depended on this\nvariable for indentation customizations, refactor your code to\nwork on `python-indent-calculate-indentation' instead." "24.5" python-indent-levels] 4)
(defalias 'python-indent-guess-indent-offset #[0 "\212\214~\210eb\210\302\211\204S\303\304\302\305#\203S\306 \204\307 b\210\310\311!\210`Sf\312=\204L\313y\210\314 \203\315 \203@m\204@\313y\210\2021\310\311!\210`Sf\312=\203\316 \262\202\211\205_\211b\210\310 \210\317 \211\203s\211\320U\204s\321\300!\210\211\211\202{	\205{\322\323\"*\207" [python-indent-offset python-indent-guess-indent-offset-verbose nil re-search-forward "^\\_<\\(?:def\\|class\\|if\\|elif\\|else\\|try\\|except\\|finally\\|for\\|while\\|with\\|match\\|case\\|async[[:space:]]+\\(?:def\\|for\\|with\\)\\)\\_>" t python-syntax-context-type line-end-position python-util-forward-comment -1 58 1 python-info-block-continuation-line-p python-info-continuation-line-p point-marker current-indentation 0 make-local-variable message "Can't guess python-indent-offset, using defaults: %s"] 5 (#$ . 38544) nil])#@2742 Get information about the current indentation context.
Context is returned in a cons with the form (STATUS . START).

STATUS can be one of the following:

keyword
-------

:after-comment
 - Point is after a comment line.
 - START is the position of the "#" character.
:inside-string
 - Point is inside string.
 - START is the position of the first quote that starts it.
:no-indent
 - No possible indentation case matches.
 - START is always zero.

:inside-paren
 - Fallback case when point is inside paren.
 - START is the first non space char position *after* the open paren.
:inside-paren-at-closing-nested-paren
 - Point is on a line that contains a nested paren closer.
 - START is the position of the open paren it closes.
:inside-paren-at-closing-paren
 - Point is on a line that contains a paren closer.
 - START is the position of the open paren.
:inside-paren-newline-start
 - Point is inside a paren with items starting in their own line.
 - START is the position of the open paren.
:inside-paren-newline-start-from-block
 - Point is inside a paren with items starting in their own line
   from a block start.
 - START is the position of the open paren.
:inside-paren-from-block
 - Point is inside a paren from a block start followed by some
   items on the same line.
 - START is the first non space char position *after* the open paren.
:inside-paren-continuation-line
 - Point is on a continuation line inside a paren.
 - START is the position where the previous line (excluding lines
   for inner parens) starts.

:after-backslash
 - Fallback case when point is after backslash.
 - START is the char after the position of the backslash.
:after-backslash-assignment-continuation
 - Point is after a backslashed assignment.
 - START is the char after the position of the backslash.
:after-backslash-block-continuation
 - Point is after a backslashed block continuation.
 - START is the char after the position of the backslash.
:after-backslash-dotted-continuation
 - Point is after a backslashed dotted continuation.  Previous
   line must contain a dot to align with.
 - START is the char after the position of the backslash.
:after-backslash-first-line
 - First line following a backslashed continuation.
 - START is the char after the position of the backslash.

:after-block-end
 - Point is after a line containing a block ender.
 - START is the position where the ender starts.
:after-block-start
 - Point is after a line starting a block.
 - START is the position where the block starts.
:after-line
 - Point is after a simple line.
 - START is the position where the previous line starts.
:at-dedenter-block-start
 - Point is on a line starting a dedenter block.
 - START is the position where the dedenter block starts.
(defalias 'python-indent-context #[0 "\212\300 \210\301 )\302 \303U\203\304\305B\207\211\206\301 \3068\205!\3078\262\211\2053\310 \2030\311\2021\312B\262\2069\211\206>\301 A@\211\205U\212\211b\210\313u\210\302 \314 \210\302 U)?\205\222\212\315y\210\316 \210\301 A@\313\211\203\217Y\203\217U\203\210`\313\211\262\202\214b\210\316 \210\301 A@\262\317\204f)\266\202\205'\212\320\321!\210\322\323`!!\324=\205\263\303u\210\301 A@?\205\263\325B)\206'\212\316 \210\322\323`!!\324=)\203\316\326B\266\203\202)\211\203\332\327B\266\203\202)\212b\210\205\360\212\316 \210\330\331!)\205\360\332B)\206'\203\333B\266\203\202)\212Tb\210\320\334\303\"\210\320\321!\210`)\212\335 \210\336 )\203\"\337B\266\204\202)\340B\262\266\203\2069\211\307\2064\301 8\262?\205@\341\302 S!\211\205\316\212\316 \210\313f\342=\205\315y\210o\204]\301 A@\204O\343 b\210\344\345\346 \317#\203o\347 \204a\313f\342=\205\347 ?\205\350`B)\206\316\351 \211\205\230\212\211b\210\352\353\343 \317#\210\354`)B\262\206\316\355 \211\205\253\212\211b\210\356`)B\262\206\316\212\211b\210\302 \303U\204\304\357\302 S!?\205\307\360B)\206\316\361B\262\2069\212\316 \210\314\315!\210`Sf\362=\205\345\363 )\211\205\355\364B\262\2069\365 \211\205\373\366B\262\2069\212\316 \210\367\313x\210o\203\304\305B\2028\335 \210\370 \203\371\2026\212\343 b\210\314\315!\210\335 \210\330\372!)\2035\373\2026\374`B)\207" [beginning-of-line syntax-ppss line-number-at-pos 1 :no-indent 0 3 8 python-info-docstring-p :inside-docstring :inside-string nil python-util-forward-comment -1 back-to-indentation t skip-syntax-forward " " syntax-class syntax-after 5 :inside-paren-at-closing-paren :inside-paren-at-closing-nested-paren :inside-paren-continuation-line looking-at "\\_<\\(?:def\\|class\\|if\\|elif\\|else\\|try\\|except\\|finally\\|for\\|while\\|with\\|match\\|case\\|async[[:space:]]+\\(?:def\\|for\\|with\\)\\)\\_>" :inside-paren-newline-start-from-block :inside-paren-newline-start "(" python-nav-beginning-of-statement python-info-looking-at-beginning-of-block :inside-paren-from-block :inside-paren python-info-line-ends-backslash-p 46 line-end-position search-backward "." line-beginning-position python-syntax-context-type :after-backslash-dotted-continuation python-info-block-continuation-line-p re-search-forward "\\_<\\(?:def\\|class\\|if\\|elif\\|else\\|try\\|except\\|finally\\|for\\|while\\|with\\|match\\|case\\|async[[:space:]]+\\(?:def\\|for\\|with\\)\\)\\_>[[:space:]]*" :after-backslash-block-continuation python-info-assignment-continuation-line-p :after-backslash-assignment-continuation python-info-beginning-of-backslash :after-backslash-first-line :after-backslash 58 python-nav-beginning-of-block :after-block-start python-info-dedenter-statement-p :at-dedenter-block-start " 	\n" python-info-current-line-comment-p :after-comment "\\_<\\(?:break\\|continue\\|pass\\|r\\(?:aise\\|eturn\\)\\)\\_>" :after-block-end :after-line] 8 (#$ . 39945)])#@312 Internal implementation of `python-indent-calculate-indentation'.
May return an integer for the maximum possible indentation at
current context or a list of integers.  The latter case is only
happening for :at-dedenter-block-start context since the
possibilities can be narrowed to specific indentation points.#@12 

(fn POS)
(defalias 'python-indent--calculate-indentation #[0 "\212\303 \211:\205\336\211\242\211\304\267\210\202\335\305 \262\202\336\243\211b\210\306 \266\202\202\336\243\211Tb\210\307\310!\2037\306 \266\202\202\336\266i\202\336\243\306 b\210\306 ]\266\204\202\336\243\211b\210\306 \\\266\202\202\336\243\211b\210i\211\306 \\U\203s\211\\\266\203\202\336\266\202\202\336\243\211b\266i\202\336\243\211b\210\311\306 Z]\266\202\202\336\312 \211\204\237\305 \266\202\202\336\313\314\"\266\202\202\336\243\211b\210\306 	_\\\266\202\202\336\243\211b\210i\n\203\330\211\212\315 \210\306 )\\U\203\330\211\\\266\203\202\336\266\202\202\336\316)\207" [python-indent-offset python-indent-def-block-scale python-indent-block-paren-deeper python-indent-context #s(hash-table test eq purecopy t data (:no-indent 17 :inside-paren-continuation-line 24 :after-backslash 24 :inside-string 24 :after-comment 24 :after-line 24 :inside-paren-at-closing-nested-paren 36 :inside-paren-at-closing-paren 36 :inside-docstring 61 :inside-paren-newline-start 78 :after-backslash-assignment-continuation 78 :after-backslash-first-line 78 :after-block-start 78 :after-backslash-block-continuation 92 :after-backslash-dotted-continuation 120 :inside-paren 120 :after-block-end 130 :at-dedenter-block-start 146 :inside-paren-newline-start-from-block 168 :inside-paren-from-block 184)) prog-first-column current-indentation looking-at "[ 	]*\\(?:#\\|$\\)" 0 python-info-dedenter-opening-block-positions mapcar #[257 "\212\211b\210\300 )\207" [current-indentation] 2 (#$ . 46024)] python-nav-beginning-of-statement nil] 7 (#$ . 45708)])#@233 Calculate levels list given INDENTATION.
Argument INDENTATION can either be an integer or a list of
integers.  Levels are returned in ascending order, and in the
case INDENTATION is a list, this order is enforced.

(fn INDENTATION)
(defalias 'python-indent--calculate-levels #[257 "\211<\203\f\301\302!\303\"\207\304\305 S#C\244\207" [python-indent-offset sort copy-sequence < number-sequence prog-first-column] 5 (#$ . 47680)])#@85 Return previous level from LEVELS relative to INDENTATION.

(fn LEVELS INDENTATION)
(defalias 'python-indent--previous-level #[514 "\300\301!\302\"\211@\3032&\211\203#\211@\211W\203\304\303\"\210\210A\202
\210\2110\207" [sort copy-sequence > return throw] 9 (#$ . 48119)])#@181 Calculate indentation.
Get indentation of PREVIOUS level when argument is non-nil.
Return the max level of the cycle when indentation reaches the
minimum.

(fn &optional PREVIOUS)
(defalias 'python-indent-calculate-indentation #[256 "\300 \301!\203\302\303 \"\207\211\203\304\305\"\207\306 \207" [python-indent--calculate-indentation python-indent--calculate-levels python-indent--previous-level current-indentation apply max prog-first-column] 6 (#$ . 48407)])#@282 Internal implementation of `python-indent-line-function'.
Use the PREVIOUS level when argument is non-nil, otherwise indent
to the maximum available level.  When indentation is the minimum
possible and PREVIOUS is non-nil, cycle back to the maximum
level.

(fn &optional PREVIOUS)
(defalias 'python-indent-line #[256 "\300 `X\205\300 \301 \\`Y\212\302\303!!\210\304 )\210\211\205\305 \207" [line-beginning-position current-indentation indent-line-to python-indent-calculate-indentation python-info-dedenter-opening-block-message back-to-indentation] 5 (#$ . 48883)])#@37 Return possible indentation levels.
(defalias 'python-indent-calculate-levels #[0 "\300\301 !\207" [python-indent--calculate-levels python-indent--calculate-indentation] 2 (#$ . 49460)])#@203 `indent-line-function' for Python mode.
When the variable `last-command' is equal to one of the symbols
inside `python-indent-trigger-commands' it cycles possible
indentation levels from right to left.
(defalias 'python-indent-line-function #[0 "\303	>\205\n\n=!\207" [this-command python-indent-trigger-commands last-command python-indent-line] 3 (#$ . 49653)])#@25 De-indent current line.
(defalias 'python-indent-dedent-line #[0 "n?\205 \300\301\206
\302 8\262?\205 \303 iU\205 \304\305!\210\305\207" [nil 8 syntax-ppss current-indentation python-indent-line t] 3 (#$ . 50024) "*"])#@139 De-indent current line.
Argument ARG is passed to `backward-delete-char-untabify' when
point is not in between the indentation.

(fn ARG)
(defalias 'python-indent-dedent-line-backspace #[257 "\300 ?\205	\301!\207" [python-indent-dedent-line backward-delete-char-untabify] 3 (#$ . 50255) "*p"])#@123 Indent a Python region automagically.

Called from a program, START and END specify the region to indent.

(fn START END)
(put 'python-indent-dedent-line-backspace 'delete-selection 'supersede)
(defalias 'python-indent-region #[514 "\301\212\211b\210\302 \262b\210n\204\303y\210`W\203\226n\203\"l\204\220\212\304 \305y\210\304 \2032\211?\2064\306 )\262\204\220\307 \3108\205E\3118\262\203\202\312`S\313 \\\301f`\301\314\211\310W\203t\203g\\W\203t\\f=\203tT\202U\266\203\\!\315\232\204\202\316 \203\220\212\317 \210\320\321!)\204\220\322 \210\303y\210\202\211\301\211\223*\207" [deactivate-mark nil point-marker 1 python-info-current-line-comment-p -1 python-info-current-line-empty-p syntax-ppss 3 8 syntax-after current-indentation 0 (15) python-info-docstring-p back-to-indentation looking-at "\\_<\\(?:def\\|class\\|if\\|elif\\|else\\|try\\|except\\|finally\\|for\\|while\\|with\\|match\\|case\\|async[[:space:]]+\\(?:def\\|for\\|with\\)\\)\\_>\\|\\_<\\(?:case\\|e\\(?:l\\(?:if\\|se\\)\\|xcept\\)\\|finally\\)\\_>\\|\\_<\\(?:break\\|continue\\|pass\\|r\\(?:aise\\|eturn\\)\\)\\_>" python-indent-line] 10 (#$ . 50557)])#@355 Shift lines contained in region START END by COUNT columns to the left.
COUNT defaults to `python-indent-offset'.  If region isn't
active, the current line is shifted.  The shifted region includes
the lines in which START and END lie.  An error is signaled if
any lines in the region are indented less than COUNT columns.

(fn START END &optional COUNT)
(defalias 'python-indent-shift-left #[770 "\211\203\f\302!\262\202\210\211\303V\205>\304\212b\210`W\2037\305 W\2031\306\307!\2041\310\311!\210\304y\210\202\312[#*\207" [python-indent-offset deactivate-mark prefix-numeric-value 0 nil current-indentation looking-at "[ 	]*$" user-error "Can't shift all lines enough" indent-rigidly] 7 (#$ . 51720) (byte-code "\203\302 \303 	E\207\304 \305 	E\207" [mark-active current-prefix-arg region-beginning region-end line-beginning-position line-end-position] 3)])#@269 Shift lines contained in region START END by COUNT columns to the right.
COUNT defaults to `python-indent-offset'.  If region isn't
active, the current line is shifted.  The shifted region includes
the lines in which START and END lie.

(fn START END &optional COUNT)
(defalias 'python-indent-shift-right #[770 "\302\211\203\303!\262\202\210	\304#)\207" [deactivate-mark python-indent-offset nil prefix-numeric-value indent-rigidly] 7 (#$ . 52606) (byte-code "\203\302 \303 	E\207\304 \305 	E\207" [mark-active current-prefix-arg region-beginning region-end line-beginning-position line-end-position] 3)])#@240 Adjust indentation after insertion of some characters.
This function is intended to be added to `post-self-insert-hook.'
If a line renders a paren alone, after adding a char before it,
the line will be re-indented automatically if needed.
(defalias 'python-indent-post-self-insert-function #[0 "\205\313`Sf	=\205\313\304 \3058\205\3068\262?\205\313\212\307 \210\304 \206(\304 \3058\2051\3068)\262?\205\313n\204w\304 A@\211\205K\310 \310!U?\262\203w\311f\312>\204_`Sf\313=\203w\212\314 b\210\315 \211\247\205u\316 W\205u\317!)\207	\320=\205\313\320\n>\205\313?\205\313l\205\313`SSf\320=?\205\313\311\306\206\236\304 8\262?\205\313\321 \211\205\311\322!\323 \212b\210\324 \210\310!\310!U?\205\306\325\")\266\202\262\207" [electric-indent-mode last-command-event electric-indent-chars current-prefix-arg syntax-ppss 3 8 beginning-of-line line-number-at-pos nil (41 93 125) 44 line-beginning-position python-indent-calculate-indentation current-indentation indent-line-to 58 python-info-dedenter-statement-p copy-marker point-marker python-indent-line python-indent-region] 6 (#$ . 53231)])#@328 Put mark at end of this defun, point at beginning.
The defun marked is the one that contains point or follows point.

Interactively (or with ALLOW-EXTEND non-nil), if this command is
repeated or (in Transient Mark mode) if the mark is active, it
marks the next defun after the ones already marked.

(fn &optional ALLOW-EXTEND)
(defalias 'python-mark-defun #[256 "\300 \203\301\210\302!\207" [python-info-looking-at-beginning-of-defun 1 mark-defun] 3 (#$ . 54369) "p"])#@54 Function to use when navigating between expressions.#@130 Regexp matching class or function definition.
The name of the defun should be grouped so it can be retrieved
via `match-string'.
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable python-forward-sexp-function funcall function #[0 "\300\207" [python-nav-forward-sexp] 1 (#$ . 308)] (#$ . 54847) :version "28.1" :type (choice (const :tag "Python blocks" python-nav-forward-sexp) (const :tag "CC-mode like" nil) function)] 8)
(defvar python-nav-beginning-of-defun-regexp "^[[:space:]]*\\_<\\(?:def\\|class\\|async[[:space:]]+def\\)\\_>\\(?:[[:space:]]\\|\\\\\n\\)+\\([_[:alpha:]][_[:word:]]*\\)" (#$ . 54906))#@30 Regexp matching block start.
(defvar python-nav-beginning-of-block-regexp "^[[:space:]]*\\_<\\(?:def\\|class\\|if\\|elif\\|else\\|try\\|except\\|finally\\|for\\|while\\|with\\|match\\|case\\|async[[:space:]]+\\(?:def\\|for\\|with\\)\\)\\_>" (#$ . 55554))#@139 Internal implementation of `python-nav-beginning-of-defun'.
With positive ARG search backwards, else search forwards.

(fn &optional ARG)
(defalias 'python-nav--beginning-of-defun #[256 "\211\203\n\211\303U\203\f\210\304\211\303V\203\305\202\306\307 \211\310 \\\311 \312 \203(\202*\310 \303V\205m\313\314\315\"\203C\212\316 \210\310 )	\\\206m\212\317 \203_\313 \203U\310 Y\203_\211\310 ^\211\262\204D\313 \203k\310 	\\\206l\303)\313\314\315\"\203\220\303W\204\215\303V\203\220\320 \204\215V\203\220\321 \210\n\314\315#\203\262\322 \204\220\303V\203\262\310 \303U\204\262\310 Y\204\220\313\314\315\"\205\322\323!\323 U?\206\322`Y\205\322`X\205\322V\211\203\345\303W\203\340\316 \210\324\304!\315\207b\314\207" [most-positive-fixnum python-indent-offset python-nav-beginning-of-defun-regexp 0 1 re-search-backward re-search-forward line-beginning-position current-indentation point-marker python-info-current-line-empty-p python-info-looking-at-beginning-of-defun nil t python-nav-beginning-of-statement python-nav-backward-block python-info-continuation-line-p python-nav-end-of-statement python-syntax-context-type line-number-at-pos beginning-of-line] 12 (#$ . 55815)])#@300 Move point to `beginning-of-defun'.
With positive ARG search backwards else search forward.
ARG nil or 0 defaults to 1.  When searching backwards,
nested defuns are handled with care depending on current
point position.  Return non-nil if point is moved to
`beginning-of-defun'.

(fn &optional ARG)
(defalias 'python-nav-beginning-of-defun #[256 "\211\203\n\211\300U\203\f\210\301\302\300U\2046\303!\211\203!\204!\304\262\2036\300V\203/S\2021T\262\202
\207" [0 1 nil python-nav--beginning-of-defun t] 4 (#$ . 57047)])#@87 Move point to the end of def or class.
Returns nil if point is not in a def or class.
(defalias 'python-nav-end-of-defun #[0 "\300`\301 \204\302\303!\204\302\304!\205=\305 \262\306 \210\307\303!\210\305 V\203)m\203\307\304!\210\303y\210\211`V\2039\211b\210\211`U?\207" [nil python-info-looking-at-beginning-of-defun python-nav-beginning-of-defun 1 -1 current-indentation python-nav-end-of-statement python-util-forward-comment] 4 (#$ . 57587) nil])#@473 Move point using FN avoiding places with specific context.
FN must take no arguments.  POSCOMPFN is a two arguments function
used to compare current and previous point after it is moved
using FN, this is normally a less-than or greater-than
comparison.  Optional argument CONTEXTFN defaults to
`python-syntax-context-type' and is used for checking current
point context, it must return a non-nil value if this point must
be skipped.

(fn FN POSCOMPFN &optional CONTEXTFN)
(defalias 'python-nav--syntactically #[770 "\211\206\300\301 \302\3032] \205\301  \211\204?\203?\204%\2045\203?\203?\"\203?\304\303\301 \"\266\202\f\203M\211\203M\266`\202\f\204Tb\210\304\303\302\"\266\202\f\207" [python-syntax-context-type point-marker nil found throw] 11 (#$ . 58053)])#@148 Internal implementation of python-nav-{backward,forward}-defun.
Uses ARG to define which function to call, and how many times
repeat it.

(fn ARG)
(defalias 'python-nav--forward-defun #[257 "\300\301V\203\302\303\304\"\211\262\203S\262\202\301W\203/\302\305\306\"\211\262\203/T\262\202\207" [nil 0 python-nav--syntactically #[0 "\301\302\303#\207" [python-nav-beginning-of-defun-regexp re-search-forward nil t] 4] > #[0 "\301\302\303#\207" [python-nav-beginning-of-defun-regexp re-search-backward nil t] 4] <] 5 (#$ . 58855)])#@151 Navigate to closer defun backward ARG times.
Unlikely `python-nav-beginning-of-defun' this doesn't care about
nested definitions.

(fn &optional ARG)
(defalias 'python-nav-backward-defun #[256 "\300\206\301[!\207" [python-nav--forward-defun 1] 3 (#$ . 59408) "^p"])#@150 Navigate to closer defun forward ARG times.
Unlikely `python-nav-beginning-of-defun' this doesn't care about
nested definitions.

(fn &optional ARG)
(defalias 'python-nav-forward-defun #[256 "\300\206\301!\207" [python-nav--forward-defun 1] 3 (#$ . 59683) "^p"])#@37 Move to start of current statement.
(defalias 'python-nav-beginning-of-statement #[0 "\300y\210\301 \211\206\301 A@\206!\211\206\301 \3028\205\3038\262o\204C\211\2033\211b\210\304 \266\202E\212\305y\210\306 )\203C\305y\210\304 \210\266\307 \210\310 \207" [0 syntax-ppss 3 8 python-nav-beginning-of-statement -1 python-info-line-ends-backslash-p back-to-indentation point-marker] 4 (#$ . 59954) "^"])#@204 Move to end of current statement.
Optional argument NOEND is internal and makes the logic to not
jump to the end of line when moving forward searching for the end
of the statement.

(fn &optional NOEND)
(defalias 'python-nav-end-of-statement #[256 "\300\211\301\204\302 b\210m\204\275\303 \3048\205\3058\262\211\262\203\217Y\203\275b\210\303 A@\2038\306\307!\202\272``f`\300\301\211\304W\203]\203P\\W\203]\\f=\203]T\202>\266\203\\b\210\304\303 8\307=\203s\310\311\300\307#\202\204\3121\202b\210\313 \210`0\202\204\210\300\206\211db\211\262\202\272\303 A@\203\255\3141\244\315`\316\317#b0\202\272\3048b\262\202\272\320 \211\262\203\275b\210\316y\204\266\321 \207" [nil 0 line-end-position syntax-ppss 3 8 python-nav-end-of-statement t re-search-forward "\\s|" (scan-error) python-nav--lisp-forward-sexp (scan-error) scan-lists 1 -1 python-info-line-ends-backslash-p point-marker] 11 (#$ . 60376) "^"])#@113 Move backward to previous statement.
With ARG, repeat.  See `python-nav-forward-statement'.

(fn &optional ARG)
(defalias 'python-nav-backward-statement #[256 "\211\204\210\300\301[!\207" [1 python-nav-forward-statement] 3 (#$ . 61332) "^p"])#@143 Move forward to next statement.
With ARG, repeat.  With negative argument, move ARG times
backward to previous statement.

(fn &optional ARG)
(defalias 'python-nav-forward-statement #[256 "\211\204\210\300\211\301V\203\302 \210\303 \210\304 \210S\202\211\301W\205-\304 \210\303\305!\210\304 \210T\202\207" [1 0 python-nav-end-of-statement python-util-forward-comment python-nav-beginning-of-statement -1] 3 (#$ . 61584) "^p"])#@33 Move to start of current block.
(defalias 'python-nav-beginning-of-block #[0 "`o\204\301 \210\302 \204\303 \203\304y\210\202\301 \210\305\306!\203$\307 \207\310 Z\311 \2034\310 V\204(\305\306!\203D\310 U\203D\307 \207b\312\207" [python-indent-offset python-nav-beginning-of-statement python-info-current-line-comment-p python-info-current-line-empty-p -1 looking-at "\\_<\\(?:def\\|class\\|if\\|elif\\|else\\|try\\|except\\|finally\\|for\\|while\\|with\\|match\\|case\\|async[[:space:]]+\\(?:def\\|for\\|with\\)\\)\\_>" point-marker current-indentation python-nav-backward-block nil] 5 (#$ . 62025) "^"])#@31 Move to end of current block.
(defalias 'python-nav-end-of-block #[0 "\300 \2052\301 \302 \210\303y\210m\204*\301 V\203 \302 \204\n\202\n\304 \204\n\305 \204\n\306\307!\210\310 \262\207" [python-nav-beginning-of-block current-indentation python-nav-end-of-statement 1 python-info-current-line-comment-p python-info-current-line-empty-p python-util-forward-comment -1 point-marker] 3 (#$ . 62652) "^"])#@113 Move backward to previous block of code.
With ARG, repeat.  See `python-nav-forward-block'.

(fn &optional ARG)
(defalias 'python-nav-backward-block #[256 "\211\204\210\300\301[!\207" [1 python-nav-forward-block] 3 (#$ . 63069) "^p"])#@143 Move forward to next block of code.
With ARG, repeat.  With negative argument, move ARG times
backward to previous block.

(fn &optional ARG)
(defalias 'python-nav-forward-block #[256 "\211\204\210\300`\301V\203%\302 \210\303\304\305\306#\203\307 \204S\262\202\301W\203B\310 \210\311\304\305\306#\203;\307 \204.T\262\202%\310 \210\211\301V\203Q`W\204W\312\313!\204[b\305\207`U?\205d\314 \207" [1 0 python-nav-end-of-statement re-search-forward "^[[:space:]]*\\_<\\(?:def\\|class\\|if\\|elif\\|else\\|try\\|except\\|finally\\|for\\|while\\|with\\|match\\|case\\|async[[:space:]]+\\(?:def\\|for\\|with\\)\\)\\_>" nil t python-syntax-context-type python-nav-beginning-of-statement re-search-backward looking-at "\\_<\\(?:def\\|class\\|if\\|elif\\|else\\|try\\|except\\|finally\\|for\\|while\\|with\\|match\\|case\\|async[[:space:]]+\\(?:def\\|for\\|with\\)\\)\\_>" point-marker] 8 (#$ . 63313) "^p"])#@233 Standard version `forward-sexp'.
It ignores completely the value of `forward-sexp-function' by
setting it to nil before calling `forward-sexp'.  With positive
ARG move forward only one sexp, else move backwards.

(fn &optional ARG)
(defalias 'python-nav--lisp-forward-sexp #[256 "\301\203\302V\203\303\202\304\305!)\207" [forward-sexp-function nil 0 1 -1 forward-sexp] 5 (#$ . 64244)])#@232 Safe version of standard `forward-sexp'.
When at end of sexp (i.e. looking at an opening/closing paren)
skips it instead of throwing an error.  With positive ARG move
forward only one sexp, else move backwards.

(fn &optional ARG)
(defalias 'python-nav--lisp-forward-sexp-safe #[256 "\211\203\n\211\300V\203\301\202\302\211\300V\203\303\202\304\300V\203$\305\202%\306\3071.\310!0\207\210\211\311\312#\205A\313 A@\205A\202/\207" [0 1 -1 "[])}]" "[([{]" re-search-forward re-search-backward (error) python-nav--lisp-forward-sexp nil t syntax-ppss] 8 (#$ . 64647)])#@370 Move to forward sexp.
With positive optional argument DIR direction move forward, else
backwards.  When optional argument SAFE is non-nil do not throw
errors when at end of sexp, skip it instead.  With optional
argument SKIP-PARENS-P force sexp motion to ignore parenthesized
expressions when looking at them in either direction.

(fn &optional DIR SAFE SKIP-PARENS-P)
(defalias 'python-nav--forward-sexp #[768 "\206\301\262\302U?\205{\302V\203\301\262\303\202\304\262\305\306 \211\307>\203.\305\310!)\207\204]\211\311=\204Q\203F\312\313`!!\314=\202N\312\313`S!!\315=\203]\203Y\316!\207\317!\207\320 \203f\321\202~\322 \203o\323\202~\324 \203x\325\202~\326 \205~\327\212\203\213\316!\210\202\220\317!\210`)\212\211b\210\320 \203\237\321\202\311\322 \203\250\323\202\311\324 \203\261\325\202\311\326 \203\272\327\202\311\330 \203\303\331\202\311\332 \205\311\333)\203$m\204\345\334 \203\345\335!\210\336#\207\337\267\202\361\340 \207\341 \207\342>\203\211\333=\203b\210\340 \207\343>\203\211\331=\203b\210\340 \207\344>\203!b\210\341 \207b\207o\204;\334 \203;\335!\210\336#\207\345\267\202G\346 \207\347 \207\350>\203Y\211\331=\203Yb\210\346 \207\351>\203k\211\333=\203kb\210\346 \207\352>\203wb\210\347 \207b\266\205\207" [forward-sexp-function 1 0 t -1 nil python-syntax-context-type (string comment) forward-sexp paren syntax-class syntax-after 4 5 python-nav--lisp-forward-sexp-safe python-nav--lisp-forward-sexp python-info-beginning-of-block-p block-start python-info-end-of-block-p block-end python-info-beginning-of-statement-p statement-start python-info-end-of-statement-p statement-end python-info-statement-starts-block-p starts-block python-info-statement-ends-block-p ends-block python-info-current-line-empty-p python-util-forward-comment python-nav--forward-sexp #s(hash-table test eq purecopy t data (block-start 235 statement-start 238)) python-nav-end-of-block python-nav-end-of-statement (statement-end block-end) (statement-end block-end) (statement-end block-end) #s(hash-table test eq purecopy t data (block-end 321 statement-end 324)) python-nav-beginning-of-block python-nav-beginning-of-statement (statement-start block-start) (statement-start block-start) (statement-start block-start)] 12 (#$ . 65234)])#@419 Move forward across expressions.
With ARG, do it that many times.  Negative arg -N means move
backward N times.  When optional argument SAFE is non-nil do not
throw errors when at end of sexp, skip it instead.  With optional
argument SKIP-PARENS-P force sexp motion to ignore parenthesized
expressions when looking at them in either direction (forced to t
in interactive calls).

(fn &optional ARG SAFE SKIP-PARENS-P)
(defalias 'python-nav-forward-sexp #[768 "\204\301\262\211\204\302\303\304\305\306\305\257>\262\307V\203*\310\301#\210S\262\202\307W\205=\310\311#\210T\262\202*\207" [real-this-command 1 forward-sexp backward-sexp python-nav-forward-sexp python-nav-backward-sexp python-nav-forward-sexp-safe 0 python-nav--forward-sexp -1] 10 (#$ . 67577) "^p"])#@419 Move backward across expressions.
With ARG, do it that many times.  Negative arg -N means move
forward N times.  When optional argument SAFE is non-nil do not
throw errors when at end of sexp, skip it instead.  With optional
argument SKIP-PARENS-P force sexp motion to ignore parenthesized
expressions when looking at them in either direction (forced to t
in interactive calls).

(fn &optional ARG SAFE SKIP-PARENS-P)
(defalias 'python-nav-backward-sexp #[768 "\204\300\262\301[#\207" [1 python-nav-forward-sexp] 7 (#$ . 68371) "^p"])#@323 Move forward safely across expressions.
With ARG, do it that many times.  Negative arg -N means move
backward N times.  With optional argument SKIP-PARENS-P force
sexp motion to ignore parenthesized expressions when looking at
them in either direction (forced to t in interactive calls).

(fn &optional ARG SKIP-PARENS-P)
(defalias 'python-nav-forward-sexp-safe #[512 "\300\301#\207" [python-nav-forward-sexp t] 6 (#$ . 68919) "^p"])#@323 Move backward safely across expressions.
With ARG, do it that many times.  Negative arg -N means move
forward N times.  With optional argument SKIP-PARENS-P force sexp
motion to ignore parenthesized expressions when looking at them in
either direction (forced to t in interactive calls).

(fn &optional ARG SKIP-PARENS-P)
(defalias 'python-nav-backward-sexp-safe #[512 "\300\301#\207" [python-nav-backward-sexp t] 6 (#$ . 69361) "^p"])#@145 Internal implementation of `python-nav-up-list'.
DIR is always 1 or -1 and comes sanitized from
`python-nav-up-list' calls.

(fn &optional DIR)
(defalias 'python-nav--up-list #[256 "\301 \302V\303>\206\212\304=\203\305\306!)\207\211\203Q\307 \203Q\212\310 \205)\311 \211\203?\211\302V\203?\311 Y\203?\312 \204)\313 )\262\211\206I``V\205P\211b\207\211\203X\313 \207\211\204\203\311 \302V\203\203\314 \203\203\212\311 \312 \203w\311 Y\204k\210`)`V\205\202\211b\207\211?\205\212\310 \207" [forward-sexp-function python-syntax-context-type 0 (string comment) paren nil up-list python-info-end-of-block-p python-nav-beginning-of-block current-indentation python-nav-backward-block python-nav-end-of-block python-info-beginning-of-block-p] 6 (#$ . 69805)])#@243 Move forward out of one level of parentheses (or blocks).
With ARG, do this that many times.
A negative argument means move backward but still to a less deep spot.
This command assumes point is not in a string or comment.

(fn &optional ARG)
(defalias 'python-nav-up-list #[256 "\211\204\210\300\211\301V\203\302\300!\210S\202\211\301W\205\"\302\303!\210T\202\207" [1 0 python-nav--up-list -1] 3 (#$ . 70591) "^p"])#@243 Move backward out of one level of parentheses (or blocks).
With ARG, do this that many times.
A negative argument means move forward but still to a less deep spot.
This command assumes point is not in a string or comment.

(fn &optional ARG)
(defalias 'python-nav-backward-up-list #[256 "\211\204\210\300\301[!\207" [1 python-nav-up-list] 3 (#$ . 71022) "^p"])#@136 Move point at the beginning the __main__ block.
When "if __name__ == \='__main__\=':" is found returns its
position, else returns nil.
(defalias 'python-nav-if-name-main #[0 "`\3002!eb\210\301\302\303\304#\205 \305 \204\306 \210\307\300\304\"\210\2020\211\203'`\207b\303\207" [found re-search-forward "^if[[:space:]]+__name__[[:space:]]+==[[:space:]]+\\(?1:[\"']\\)__main__\\1[[:space:]]*:" nil t python-syntax-context-type beginning-of-line throw] 6 (#$ . 71392) nil])#@45 Default buffer name for Python interpreter.#@260 Python interpreter for interactive use.

Some Python interpreters also require changes to
`python-shell-interpreter-args'.  In particular, setting
`python-shell-interpreter' to "ipython3" requires setting
`python-shell-interpreter-args' to "--simple-prompt".#@58 Default buffer name for the Internal Python interpreter.#@59 Arguments for the Python interpreter for interactive use.#@96 Interpreter argument to force it to run interactively.
This is used only for prompt detection.#@55 Non-nil enables autodetection of interpreter prompts.#@58 Non-nil enables warnings when detection of prompts fail.#@53 List of regular expressions matching input prompts.#@54 List of regular expressions matching output prompts.#@121 Regular expression matching top level input prompt of Python shell.
It should not contain a caret (^) at the beginning.#@117 Regular expression matching block input prompt of Python shell.
It should not contain a caret (^) at the beginning.#@112 Regular expression matching output prompt of Python shell.
It should not contain a caret (^) at the beginning.#@115 Regular expression matching pdb input prompt of Python shell.
It should not contain a caret (^) at the beginning.#@144 Should syntax highlighting be enabled in the Python shell buffer?
Restart the Python shell after changing this variable for it to take effect.#@145 Should shell output be unbuffered?.
When non-nil, this may prevent delayed and missing output in the
Python shell.  See commentary for details.#@329 List of overridden environment variables for subprocesses to inherit.
Each element should be a string of the form ENVVARNAME=VALUE.
When this variable is non-nil, values are exported into the
process environment before starting it.  Any variables already
present in the current environment are superseded by variables
set here.#@304 List of extra pythonpaths for Python shell.
When this variable is non-nil, values added at the beginning of
the PYTHONPATH before starting processes.  Any values present
here that already exists in PYTHONPATH are moved to the beginning
of the list so that they are prioritized when looking for
modules.#@293 List of paths for searching executables.
When this variable is non-nil, values added at the beginning of
the PATH before starting processes.  Any values present here that
already exists in PATH are moved to the beginning of the list so
that they are prioritized when looking for executables.#@409 List of paths to be ensured remotely for searching executables.
When this variable is non-nil, values are exported into remote
hosts PATH before starting processes.  Values defined in
`python-shell-exec-path' will take precedence to paths defined
here.  Normally you won't use this variable directly unless you
plan to ensure a particular set of paths to all Python shell
executed through tramp connections.
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\315\316\306\307&\210\300\317\302\303\320DD\321\306\307\310\311&\210\300\322\302\303\323DD\324\306\307%\210\300\325\302\303\326DD\327\306\307\315\330&\210\300\331\302\303\332DD\333\306\334\310\335\315\330&	\210\300\336\302\303\337DD\340\306\334\310\335\315\330&	\210\300\341\302\303\342DD\343\306\344\315\330&\210\300\345\302\303\346DD\347\306\350\315\330&\210\300\351\302\303\352DD\353\306\354%\210\300\355\302\303\356DD\357\306\354%\210\300\360\302\303\361DD\362\306\354%\210\300\363\302\303\364DD\365\306\354%\210\366\367\370\371#\210\372\211\203\336\211@\367N\203\331\370N\204\331\373\370\367N#\210\210A\202\277\210\374\367\370\375#\210\300\370\302\303\376DD\377\306\334\310\335&\210\300\201@\302\303\201ADD\201B\306\334\310\335&\210\300\201C\302\303\201DDD\201E\306\201F%\210\300\201G\302\303\201HDD\201I\306\201J%\210\300\201K\302\303\201LDD\201M\306\201N%\210\300\201O\302\303\201PDD\201Q\315\375\306\201R&\210\366\201S\201T\371#\207" [custom-declare-variable python-shell-buffer-name funcall function #[0 "\300\207" ["Python"] 1 (#$ . 308)] (#$ . 71875) :type string :safe stringp python-shell-interpreter #[0 "\300\301!\203\301\207\300\302!\203\302\207\301\207" [executable-find "python3" "python"] 2 (#$ . 308)] (#$ . 71925) :version "28.1" python-shell-internal-buffer-name #[0 "\300\207" ["Python Internal"] 1 (#$ . 308)] (#$ . 72189) python-shell-interpreter-args #[0 "\300\207" ["-i"] 1 (#$ . 308)] (#$ . 72251) python-shell-interpreter-interactive-arg #[0 "\300\207" ["-i"] 1 (#$ . 308)] (#$ . 72314) "24.4" python-shell-prompt-detect-enabled #[0 "\300\207" [t] 1 (#$ . 308)] (#$ . 72414) boolean booleanp python-shell-prompt-detect-failure-warning #[0 "\300\207" [t] 1 (#$ . 308)] (#$ . 72473) python-shell-prompt-input-regexps #[0 "\300\207" [(">>> " "\\.\\.\\. " "In \\[[0-9]+\\]: " "   \\.\\.\\.: " "In : " "\\.\\.\\.: ")] 1 (#$ . 308)] (#$ . 72535) (repeat regexp) python-shell-prompt-output-regexps #[0 "\300\207" [(#1="" "Out\\[[0-9]+\\]: " "Out :")] 1 (#$ . 308)] (#$ . 72592) (repeat regexp) python-shell-prompt-regexp #[0 "\300\207" [">>> "] 1 (#$ . 308)] (#$ . 72651) regexp python-shell-prompt-block-regexp #[0 "\300\207" ["\\.\\.\\.:? "] 1 (#$ . 308)] (#$ . 72777) python-shell-prompt-output-regexp #[0 "\300\207" [#1#] 1 (#$ . 308)] (#$ . 72899) python-shell-prompt-pdb-regexp #[0 "\300\207" ["[(<]*[Ii]?[Pp]db[>)]+ "] 1 (#$ . 308)] (#$ . 73016) defvaralias python-shell-enable-font-lock python-shell-font-lock-enable nil (saved-value saved-variable-comment) put make-obsolete-variable "25.1" #[0 "\300\207" [t] 1 (#$ . 308)] (#$ . 73136) python-shell-unbuffered #[0 "\300\207" [t] 1 (#$ . 308)] (#$ . 73285) python-shell-process-environment #[0 "\300\207" [nil] 1 (#$ . 308)] (#$ . 73435) (repeat string) python-shell-extra-pythonpaths #[0 "\300\207" [nil] 1 (#$ . 308)] (#$ . 73769) (repeat string) python-shell-exec-path #[0 "\300\207" [nil] 1 (#$ . 308)] (#$ . 74078) (repeat string) python-shell-remote-exec-path #[0 "\300\207" [nil] 1 (#$ . 308)] (#$ . 74376) (repeat string) python-shell-virtualenv-path python-shell-virtualenv-root] 10)#@162 Path to virtualenv root.
This variable, when set to a string, makes the environment to be
modified such that shells are started within the specified
virtualenv.#@53 List of code run by `python-shell-send-setup-code'.#@55 `compilation-error-regexp-alist' for inferior Python.#@243 Whether to make Python shells dedicated by default.
This option influences `run-python' when called without a prefix
argument.  If `buffer' or `project', create a Python shell
dedicated to the current buffer or its project (if one is found).
(byte-code "\300\211\203 \211@\301N\203\302N\204\303\302\301N#\210\210A\202\210\304\301\302\305#\210\306\302\307\310\311DD\312\313\314%\210\306\315\307\310\316DD\317\313\320%\210\306\321\307\310\322DD\323\313\324\325\326&\210\306\327\307\310\330DD\331\325\332\313\333&\207" [(saved-value saved-variable-comment) python-shell-virtualenv-path python-shell-virtualenv-root put make-obsolete-variable "25.1" custom-declare-variable funcall function #[0 "\300\207" [nil] 1 (#$ . 308)] (#$ . 77991) :type (choice (const nil) directory) python-shell-setup-codes #[0 "\300\207" [nil] 1 (#$ . 308)] (#$ . 78157) (repeat symbol) python-shell-compilation-regexp-alist #[0 "\300\301B\302\303B\304\305BE\207" ["^[	 ]+\\(?:|[	 ]+\\)?File \"\\([^\"<]+\\)\", line \\([[:digit:]]+\\)" (1 2) " in file \\(.+\\) on line \\([[:digit:]]+\\)" (1 2) "^> \\([^\"(<]+\\)(\\([[:digit:]]+\\))[^(]+()" (1 2)] 4 (#$ . 308)] (#$ . 78214) (alist regexp) :version "30.1" python-shell-dedicated #[0 "\300\207" [nil] 1 (#$ . 308)] (#$ . 78274) "29.1" (choice (const :tag "To buffer" buffer) (const :tag "To project" project) (const :tag "Not dedicated" nil))] 8)
(defvar python-shell-output-filter-in-progress nil)
(defvar python-shell-output-filter-buffer nil)#@87 Modify PATHVAR and ensure PATHS are added only once at beginning.

(fn PATHVAR PATHS)
(defalias 'python-shell--add-to-path-with-priority '(macro . #[514 "\300\301\302DD\303\304\301\305\301	\306BBBEEE\207" [dolist path reverse setq cons cl-delete (:test #'string=)] 12 (#$ . 79762)]))#@66 Calculate the PYTHONPATH using `python-shell-extra-pythonpaths'.
(defalias 'python-shell-calculate-pythonpath #[0 "\302\303\304!\206\305\306#\307	!\211\203#\211@\211\310\311\312$B\262\210A\202\210\313\314#\207" [path-separator python-shell-extra-pythonpaths split-string getenv "PYTHONPATH" "" omit reverse cl-delete :test string= mapconcat identity] 9 (#$ . 80054)])
(defalias 'python-shell-calculate-process-environment #[0 "\303!\304\305 \203	\202\n\"\207" [default-directory tramp-remote-process-environment process-environment file-remote-p append python-shell--calculate-process-environment] 4])#@209 Return a list of entries to add to the `process-environment'.
Prepends `python-shell-process-environment', sets extra
pythonpaths from `python-shell-extra-pythonpaths' and sets a few
virtualenv related vars.
(make-obsolete 'python-shell-calculate-process-environment 'python-shell--calculate-process-environment "29.1")
(defalias 'python-shell--calculate-process-environment #[0 "\205\304!	\n\203\305B\262\203\306\307 PB\262\203-\310B\262\311PB\262\207" [python-shell-virtualenv-root python-shell-process-environment python-shell-unbuffered python-shell-extra-pythonpaths directory-file-name "PYTHONUNBUFFERED=1" "PYTHONPATH=" python-shell-calculate-pythonpath "PYTHONHOME" "VIRTUAL_ENV="] 4 (#$ . 80679)])#@367 Calculate `exec-path'.
Prepends `python-shell-exec-path' and adds the binary directory
for virtualenv if `python-shell-virtualenv-root' is set - this
will use the python interpreter from inside the virtualenv when
starting the shell.  If `default-directory' points to a remote host,
the returned value appends `python-shell-remote-exec-path' instead
of `exec-path'.
(defalias 'python-shell-calculate-exec-path #[0 "\306\307!\203	\202\f\n!\310=\203\311\202\312\313\f!\211\2031\211@\211\314\315\316$B\262\210A\202\210
\2048\207\313\317
\"C!\211\203U\211@\211\314\315\316$B\262\210A\202?\210\207" [default-directory python-shell-remote-exec-path exec-path system-type python-shell-exec-path python-shell-virtualenv-root copy-sequence file-remote-p windows-nt "Scripts" "bin" reverse cl-delete :test string= expand-file-name] 10 (#$ . 81412)])#@65 Update VEC's remote-path giving PATHS priority.

(fn VEC PATHS)
(defalias 'python-shell-tramp-refresh-remote-path #[514 "\300\301!\204\n\302\303!\210\304\305\306#\211\2055\307!\211\203+\211@\211\310\311\312$B\262\210A\202\210\313\305#\210\314!\207" [featurep tramp cl--assertion-failed (featurep 'tramp) tramp-get-connection-property "remote-path" nil reverse cl-delete :test string= tramp-set-connection-property tramp-set-remote-path] 11 (#$ . 82283)])#@58 Update VEC's process environment with ENV.

(fn VEC ENV)
(defalias 'python-shell-tramp-refresh-process-environment #[514 "\302\303!\204\n\304\305!\210\306\307\310!\205\310!C\311!\"\312\300!\203#\202&\313	!\314\211\211\203h\315@\316\317#\262\211\320\321A\316#\241\210\211A;\203[\211A\322\230\204[\323\324@A#B\262\202a\211@B\262A\262\202+\203}\325\323\326\320\321\327#$\330#\210\205\217\325\323\331\320\321\332#\"\330#)\207" [tramp-end-of-heredoc tramp-end-of-output featurep tramp cl--assertion-failed (featurep 'tramp) append fboundp tramp-get-remote-locale copy-sequence boundp md5 nil split-string "=" omit mapconcat identity "" format "%s %s" tramp-send-command "while read var val; do export $var=$val; done <<'%s'\n%s\n%s" "\n" t "unset %s" " "] 16 (#$ . 82756)])#@295 Modify shell environment during execution of BODY.
Temporarily sets `process-environment' and `exec-path' during
execution of body.  If `default-directory' points to a remote
machine then modifies `tramp-remote-process-environment' and
`python-shell-remote-exec-path' instead.

(fn &rest BODY)
(defalias 'python-shell-with-environment '(macro . #[128 "\300\301\302\303BBE\207" [python-shell--with-environment (python-shell--calculate-process-environment) lambda nil] 6 (#$ . 83572)]))#@25 

(fn EXTRAENV BODYFUN)
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put python-shell-with-environment lisp-indent-function 0 put edebug-form-spec (body)] 5)
(defalias 'python-shell--with-environment #[514 "\302!\205\303\304!\205\3051\304\306\"0\202\210\307\211\203$\310#\207\311	\"\312 \313\314!\313\301!\315\316#\216\317\314\"\210\317\301\"\210 )\207" [default-directory process-environment file-remote-p fboundp tramp-dissect-file-name (error) noexpand nil python-shell--tramp-with-environment append python-shell-calculate-exec-path default-value exec-path make-closure #[0 "\302\303\301\"\210\302\304\300\"\207" [V0 V1 set-default exec-path process-environment] 3] set-default] 11 (#$ . 84063)])#@29 

(fn VEC EXTRAENV BODYFUN)
(defalias 'python-shell--tramp-with-environment #[771 "\301\"\302!\203\303\304 \"\210\305\"\210\211 )\207" [tramp-remote-process-environment append tramp-get-connection-process python-shell-tramp-refresh-remote-path python-shell-calculate-exec-path python-shell-tramp-refresh-process-environment] 6 (#$ . 84806)])#@152 Calculated input prompt regexp for inferior python shell.
Do not set this variable directly, instead use
`python-shell-prompt-set-calculated-regexps'.
(defvar python-shell--prompt-calculated-input-regexp nil (#$ . 85163))#@140 Input block prompt for inferior python shell.
Do not set this variable directly, instead use
`python-shell-prompt-set-calculated-regexps'.
(defvar python-shell--block-prompt nil (#$ . 85391))#@153 Calculated output prompt regexp for inferior python shell.
Do not set this variable directly, instead use
`python-shell-prompt-set-calculated-regexps'.
(defvar python-shell--prompt-calculated-output-regexp nil (#$ . 85589))#@50 Parse the JSON array in STRING into a Lisp list.#@15 

(fn STRING)#@554 Detect prompts for the current `python-shell-interpreter'.
When prompts can be retrieved successfully from the
`python-shell-interpreter' run with
`python-shell-interpreter-interactive-arg', returns a list of
three elements, where the first two are input prompts and the
last one is an output prompt.  When no prompts can be detected
and `python-shell-prompt-detect-failure-warning' is non-nil,
shows a warning with instructions to avoid hangs and returns nil.
When `python-shell-prompt-detect-enabled' is nil avoids any
detection and just returns nil.
(byte-code "\300\301\302\303!\203\f\304\202\305\306!\210\307\310#\207" [defalias python--parse-json-array fboundp json-parse-string #[257 "\300\301\302#\207" [json-parse-string :array-type list] 5 (#$ . 85872)] require json #[257 "\301\302!)\207" [json-array-type list json-read-from-string] 3 (#$ . 85872)] "Parse the JSON array in STRING into a Lisp list."] 4)
(defalias 'python-shell-prompt-detect #[0 "\205	\301\302 \303\"\207" [python-shell-prompt-detect-enabled python-shell--with-environment python-shell--calculate-process-environment #[0 "	\304\305\306\"r\211q\210\307\310\"\216\3111,\312\313!\314\315!)\307\316\"\216\317\320\321%)\2620\210\322 *\262\3232x\324\325\306#\211\203u\211@\326\327\"\205U\3301S\331!0\202U\210\321\211G\332U\203o\333\334\"\203o\211@\335\230\204o\336\323\"\210\266A\202;\210\3210\211\204\206\203\206\337\340\341\342#\210\343\344\"\207" [python-shell-interpreter python-shell-interpreter-interactive-arg inhibit-eol-conversion python-shell-prompt-detect-failure-warning generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205	\302\300!\207" [V0 buffer-name kill-buffer] 2] (error) getenv "PYTHONUNBUFFERED" python-shell--save-temp-file "import sys\nps = [getattr(sys, 'ps%s' % i, '') for i in range(1,4)]\ntry:\n    import json\n    ps_json = '\\n' + json.dumps(ps)\nexcept ImportError:\n    ps_json = '\\n[\"%s\", \"%s\", \"%s\"]\\n' % tuple(ps)\n\nprint (ps_json)\nsys.exit(0)\n" #[0 "\301\300!\207" [V0 delete-file] 2] process-file (t nil) nil buffer-string prompts split-string "\n" string-prefix-p "[\"" (error) python--parse-json-array 3 cl-every stringp "" throw lwarn (python python-shell-prompt-regexp) :warning "Python shell prompts cannot be detected.\nIf your emacs session hangs when starting python shells\nrecover with `keyboard-quit' and then try fixing the\ninteractive flag for your interpreter by adjusting the\n`python-shell-interpreter-interactive-arg' or add regexps\nmatching shell prompts in the directory-local friendly vars:\n  + `python-shell-prompt-regexp'\n  + `python-shell-prompt-block-regexp'\n  + `python-shell-prompt-output-regexp'\nOr alternatively in:\n  + `python-shell-prompt-input-regexps'\n  + `python-shell-prompt-output-regexps'" mapcar ansi-color-filter-apply] 10]] 3 (#$ . 85892)])#@328 Validate all user provided regexps for prompts.
Signals `user-error' if any of these vars contain invalid
regexps: `python-shell-prompt-regexp',
`python-shell-prompt-block-regexp',
`python-shell-prompt-pdb-regexp',
`python-shell-prompt-output-regexp',
`python-shell-prompt-input-regexps',
`python-shell-prompt-output-regexps'.
(defalias 'python-shell-prompt-validate-regexps #[0 "\300\301\302\303\304\305\257\211\2053\211@\211J\211<\204C\211\203-\211@\306!\204(\307\310#\210\210A\202\266A\202\207" [python-shell-prompt-input-regexps python-shell-prompt-output-regexps python-shell-prompt-regexp python-shell-prompt-block-regexp python-shell-prompt-pdb-regexp python-shell-prompt-output-regexp python-util-valid-regexp-p user-error "Invalid regexp %s in `%s'"] 8 (#$ . 88757)])#@466 Detect and set input and output prompt regexps.
Build and set the values for
`python-shell--prompt-calculated-input-regexp' and
`python-shell--prompt-calculated-output-regexp' using the values
from `python-shell-prompt-regexp',
`python-shell-prompt-block-regexp',
`python-shell-prompt-pdb-regexp',
`python-shell-prompt-output-regexp',
`python-shell-prompt-input-regexps',
`python-shell-prompt-output-regexps' and detected prompts from
`python-shell-prompt-detect'.#@16 

(fn PROMPTS)#@12 

(fn A B)
(defalias 'python-shell-prompt-set-calculated-regexps #[0 "\205	?\205\260\306 \307\211\310\311 \210\312\n\f
E\"\211\2036\211@\313\314\315$\203,\202/\211B\262\210A\202\210B\211\203Y\211@\313\314\315$\203O\202R\211B\262\210A\202<\210\203\245\316!\211\203\204\211@\317!\262\313\314\315$\203z\202}\211B\262\210A\202a\210A@\317\320!@!\313\314\315$\203\236\210\202\243\211B\262\262\211!\211!\211\266\204\207" [python-shell--prompt-calculated-input-regexp python-shell--prompt-calculated-output-regexp python-shell-prompt-input-regexps python-shell-prompt-regexp python-shell-prompt-block-regexp python-shell-prompt-pdb-regexp python-shell-prompt-detect nil #[257 "\300\301\302\303\304\"\305#\306Q\207" ["^\\(" mapconcat identity sort #[514 "GGU\203\231\207GGV\207" [] 6 (#$ . 90044)] "\\|" "\\)"] 7 (#$ . 90024)] python-shell-prompt-validate-regexps append cl-member :test string= butlast regexp-quote last python-shell-prompt-output-regexp python-shell-prompt-output-regexps python-shell--block-prompt] 11 (#$ . 89554)])#@258 Calculate the appropriate process name for inferior Python process.
If DEDICATED is nil, this is simply `python-shell-buffer-name'.
If DEDICATED is `buffer' or `project', append the current buffer
name respectively the current project name.

(fn DEDICATED)
(defalias 'python-shell-get-process-name #[257 "\211\301\267\202#\207\302\303!\205\304 \211\203!\305\306\307\310\311!!!#\207\207\305\306\312 #\207" [python-shell-buffer-name #s(hash-table test eq purecopy t data (nil 6 project 8)) featurep project project-current format "%s[%s]" file-name-nondirectory directory-file-name project-root buffer-name] 9 (#$ . 91148)])#@147 Calculate the appropriate process name for Internal Python process.
The name is calculated from `python-shell-buffer-name' and
the `buffer-name'.
(defalias 'python-shell-internal-get-process-name #[0 "\301\302\303 #\207" [python-shell-internal-buffer-name format "%s[%s]" buffer-name] 4 (#$ . 91787)])#@67 Calculate the string used to execute the inferior Python process.
(defalias 'python-shell-calculate-command #[0 "\302\303\304C!	#\207" [python-shell-interpreter python-shell-interpreter-args format "%s %s" combine-and-quote-strings] 4 (#$ . 92095)])
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias python-shell-parse-command python-shell-calculate-command nil make-obsolete "25.1"] 4)
(defvar python-shell--package-depth 10)#@81 Add DIRECTORY parent to $PYTHONPATH and enable PACKAGE.

(fn DIRECTORY PACKAGE)
(defalias 'python-shell-package-enable #[514 "\300\301\302\303!\303!$\304 \"\207" [python-shell-send-string format "import os.path;import sys;sys.path.append(os.path.dirname(os.path.dirname(%s)));__package__ = %s;import %s" python-shell--encode-string python-shell-get-process] 8 (#$ . 92544) (byte-code "\302\303\304\305\306 \206\n!\"!\307\310\311	\"\"D\207" [default-directory python-shell--package-depth expand-file-name read-directory-name "Package root: " file-name-directory buffer-file-name completing-read "Package: " python-util-list-packages] 6)])#@648 Accept PROCESS output with TIMEOUT until REGEXP is found.
Optional argument TIMEOUT is the timeout argument to
`accept-process-output' calls.  Optional argument REGEXP
overrides the regexp to match the end of output, defaults to
`comint-prompt-regexp'.  Returns non-nil when output was
properly captured.

This utility is useful in situations where the output may be
received in chunks, since `accept-process-output' gives no
guarantees they will be grabbed in a single call.  An example use
case for this would be the CPython shell start-up, where the
banner and the initial prompt are received separately.

(fn PROCESS &optional TIMEOUT REGEXP)
(defalias 'python-shell-accept-process-output #[769 "\211\206\3012&\302\"\204\303\301\304\"\210\305\306 @\"\203	\303\301\307\"\210\202	\207" [comint-prompt-regexp found accept-process-output throw nil looking-back python-util-comint-last-prompt t] 7 (#$ . 93196)])#@63 Return non-nil if OUTPUT ends with input prompt.

(fn OUTPUT)
(defalias 'python-shell-comint-end-of-output-p #[257 "\301\302\303\304\305#\306Q\"\207" [python-shell--prompt-calculated-input-regexp string-match "
?\n?" replace-regexp-in-string "\\`\\^" "" "\\'"] 7 (#$ . 94124)])#@127 Faster version of `comint-postoutput-scroll-to-bottom'.
Avoids `recenter' calls until OUTPUT is completely sent.

(fn OUTPUT)
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias python-comint-output-filter-function ansi-color-filter-apply nil make-obsolete "25.1"] 4)
(defalias 'python-comint-postoutput-scroll-to-bottom #[257 "\211\300\230\204\301\302!!\203\303!\210\207" ["" python-shell-comint-end-of-output-p ansi-color-filter-apply comint-postoutput-scroll-to-bottom] 4 (#$ . 94410)])
(make-obsolete 'python-comint-postoutput-scroll-to-bottom nil "29.1")
(defvar python-shell--parent-buffer nil)#@156 Execute the forms in BODY with the shell buffer temporarily current.
Signals an error if no shell buffer is available for current buffer.

(fn &rest BODY)
(defalias 'python-shell-with-shell-buffer '(macro . #[128 "\300\301!\302\303BC\304\305DBBE\207" [make-symbol "shell-process" let ((python-shell-get-process-or-error)) with-current-buffer process-buffer] 7 (#$ . 95037)]))
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put python-shell-with-shell-buffer lisp-indent-function 0 put edebug-form-spec t] 5)
(defvar python-shell--font-lock-buffer nil)#@64 Get or create a font-lock buffer for current inferior process.
(defalias 'python-shell-font-lock-get-or-create-buffer #[0 "\301 r\302!q\210\206\303\304p!!\305\306\307\"!\262)\207" [python-shell--font-lock-buffer python-shell-get-process-or-error process-buffer process-name get-buffer-process generate-new-buffer format " *%s-font-lock*"] 6 (#$ . 95612)])#@35 Kill the font-lock buffer safely.
(defalias 'python-shell-font-lock-kill-buffer #[0 "\205\301!\205\302!\210\303\304!\205\305\211\207" [python-shell--font-lock-buffer buffer-live-p kill-buffer derived-mode-p inferior-python-mode nil] 2 (#$ . 95979)])#@160 Execute the forms in BODY in the font-lock buffer.
The value returned is the value of the last form in BODY.  See
also `with-current-buffer'.

(fn &rest BODY)
(defalias 'python-shell-font-lock-with-font-lock-buffer '(macro . #[128 "\300\301\302\303\304\305\306\307\310	BBB\257D\207" [python-shell-with-shell-buffer save-current-buffer (when (not (and python-shell--font-lock-buffer (get-buffer python-shell--font-lock-buffer))) (setq python-shell--font-lock-buffer (python-shell-font-lock-get-or-create-buffer))) (set-buffer python-shell--font-lock-buffer) (when (not font-lock-mode) (font-lock-mode 1)) (setq-local delay-mode-hooks t) let ((python-indent-guess-indent-offset nil)) (when (not (derived-mode-p 'python-mode)) (python-mode))] 11 (#$ . 96245)]))#@158 Cleanup the font-lock buffer.
Provided as a command because this might be handy if something
goes wrong and syntax highlighting in the shell gets messed up.
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put python-shell-font-lock-with-font-lock-buffer lisp-indent-function 0 put edebug-form-spec t] 5)
(defalias 'python-shell-font-lock-cleanup-buffer #[0 "\304 r\305!q\210\304 r\305!q\210r\203\306!\204\307 q\210	\204)\301\310!\210\311\302!\210\312\313\314\315!\204:\315 \210\316 ,\207" [python-shell--font-lock-buffer font-lock-mode delay-mode-hooks python-indent-guess-indent-offset python-shell-get-process-or-error process-buffer get-buffer python-shell-font-lock-get-or-create-buffer 1 make-local-variable t nil derived-mode-p python-mode erase-buffer] 4 (#$ . 97012) nil])#@62 Clean up the font-lock buffer after any OUTPUT.

(fn OUTPUT)
(defalias 'python-shell-font-lock-comint-output-filter-function #[257 "\211\304\230?\205[\305!\306!\205\307\310\"?\262\203 \311 \210\202Z\312 r\313!q\210r\2033\314!\2046\315 q\210	\204A\301\316!\210\317\302!\210\320\321\322\323!\204R\323 \210db\210\324 +\266\211\207" [python-shell--font-lock-buffer font-lock-mode delay-mode-hooks python-indent-guess-indent-offset "" ansi-color-filter-apply python-shell-comint-end-of-output-p string-match "\\.\\.\\." python-shell-font-lock-cleanup-buffer python-shell-get-process-or-error process-buffer get-buffer python-shell-font-lock-get-or-create-buffer 1 make-local-variable t nil derived-mode-p python-mode newline] 5 (#$ . 97826)])#@41 Fontifies current line in shell buffer.
(defalias 'python-shell-font-lock-post-command-hook #[0 "\306 A\211\205\243`V\205\243\307\310p!!\205\243\311d\"\312\313\314 r\315!q\210r\n\2030\316\n!\2043\317 \nq\210\204>\303\320!\210\321\304!\210\313\312\322\323!\204O\323 \210ed|\210c\210\324 \210\325 +\262\211G\326\211U?\205\240\327\"\330\"\206t\331\332\"\211\204\201\210\202\216\333\332\312#\210\333\334#\262\335\\	\\#\266\266\202\202a*\266\204\207" [deactivate-mark buffer-undo-list python-shell--font-lock-buffer font-lock-mode delay-mode-hooks python-indent-guess-indent-offset python-util-comint-last-prompt process-live-p get-buffer-process buffer-substring-no-properties nil t python-shell-get-process-or-error process-buffer get-buffer python-shell-font-lock-get-or-create-buffer 1 make-local-variable derived-mode-p python-mode font-lock-ensure buffer-string 0 text-properties-at next-property-change plist-get face plist-put font-lock-face set-text-properties] 12 (#$ . 98590)])#@89 Turn on shell font-lock.
With argument MSG show activation message.

(fn &optional MSG)
(defalias 'python-shell-font-lock-turn-on #[256 "\301 r\302!q\210\303 \210\304\300!\210\305\306\307\310\305\311$\210\306\312\303\305\311$\210\306\313\314\315\311$\210\205-\316\317!)\207" [python-shell--font-lock-buffer python-shell-get-process-or-error process-buffer python-shell-font-lock-kill-buffer make-local-variable nil add-hook post-command-hook python-shell-font-lock-post-command-hook local kill-buffer-hook comint-output-filter-functions python-shell-font-lock-comint-output-filter-function append message "Shell font-lock is enabled"] 7 (#$ . 99621) "p"])#@92 Turn off shell font-lock.
With argument MSG show deactivation message.

(fn &optional MSG)
(defalias 'python-shell-font-lock-turn-off #[256 "\301 r\302!q\210\303 \210\304 \203\305\304 A\306 \307#\210\310\300!\210\311\312\313\314\315#\210\312\316\303\315#\210\312\317\320\315#\210\2058\321\322!)\207" [python-shell--font-lock-buffer python-shell-get-process-or-error process-buffer python-shell-font-lock-kill-buffer python-util-comint-last-prompt remove-text-properties line-end-position (face nil font-lock-face nil) make-local-variable nil remove-hook post-command-hook python-shell-font-lock-post-command-hook local kill-buffer-hook comint-output-filter-functions python-shell-font-lock-comint-output-filter-function message "Shell font-lock is disabled"] 6 (#$ . 100286) "p"])#@105 Toggle font-lock for shell.
With argument MSG show activation/deactivation message.

(fn &optional MSG)
(defalias 'python-shell-font-lock-toggle #[256 "\301 r\302!q\210\303\300!\210?\211\203\304!\210\202\305!\210)\207" [python-shell-font-lock-enable python-shell-get-process-or-error process-buffer make-local-variable python-shell-font-lock-turn-on python-shell-font-lock-turn-off] 5 (#$ . 101079) "p"])
(defvar python-shell--first-prompt-received-output-buffer nil)
(defvar python-shell--first-prompt-received nil)#@327 Hook run upon first (non-pdb) shell prompt detection.
This is the place for shell setup functions that need to wait for
output.  Since the first prompt is ensured, this helps the
current process to not hang while waiting.  This is useful to
safely attach setup code for long-running processes that
eventually provide a shell.#@51 Code used to setup the inferior Python processes.
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable python-shell-first-prompt-hook funcall function #[0 "\300\207" [nil] 1 (#$ . 308)] (#$ . 101612) :version "25.1" :type hook] 8)
(defconst python-shell-setup-code "try:\n    import tty\nexcept ImportError:\n    pass\nelse:\n    tty.setraw(0)" (#$ . 101943))#@64 Code used to evaluate statements in inferior Python processes.
(defconst python-shell-eval-setup-code "def __PYTHON_EL_eval(source, filename):\n    import ast, sys\n    if sys.version_info[0] == 2:\n        from __builtin__ import compile, eval, globals\n    else:\n        from builtins import compile, eval, globals\n    try:\n        p, e = ast.parse(source, filename), None\n    except SyntaxError:\n        t, v, tb = sys.exc_info()\n        sys.excepthook(t, v, tb.tb_next)\n        return\n    if p.body and isinstance(p.body[-1], ast.Expr):\n        e = p.body.pop()\n    try:\n        g = globals()\n        exec(compile(p, filename, 'exec'), g, g)\n        if e:\n            return eval(compile(ast.Expression(e.value), filename, 'eval'), g, g)\n    except Exception:\n        t, v, tb = sys.exc_info()\n        sys.excepthook(t, v, tb.tb_next)" (#$ . 102342))#@109 Code used to evaluate files in inferior Python processes.
The coding cookie regexp is specified in PEP 263.
(defconst python-shell-eval-file-setup-code "def __PYTHON_EL_eval_file(filename, tempname, delete):\n    import codecs, os, re\n    pattern = r'^[ 	\f]*#.*?coding[:=][ 	]*([-_.a-zA-Z0-9]+)'\n    with codecs.open(tempname or filename, encoding='latin-1') as file:\n        match = re.match(pattern, file.readline())\n        match = match or re.match(pattern, file.readline())\n        encoding = match.group(1) if match else 'utf-8'\n    with codecs.open(tempname or filename, encoding=encoding) as file:\n        source = file.read().encode(encoding)\n    if delete and tempname:\n        os.remove(tempname)\n    return __PYTHON_EL_eval(source, filename)" (#$ . 103220))#@89 Run `python-shell-first-prompt-hook' when first prompt is found in OUTPUT.

(fn OUTPUT)#@23 

(fn STRING PROCESS)
(defalias 'python-shell-comint-watch-for-first-prompt-output-filter #[257 "\204\\\306\301!\210	\307!P\310	!\203\\\n\311P	\206\312\313\314\315$\266\203\203+\313\207\306\300!\210\315\313\316\317K\320\321\"\216\317M\210\322!\210\322\f!\210\322
!)\266rpq\210\313\323 \210\324\325!*\210\207" [python-shell--first-prompt-received python-shell--first-prompt-received-output-buffer python-shell-prompt-pdb-regexp python-shell-setup-code python-shell-eval-setup-code python-shell-eval-file-setup-code make-local-variable ansi-color-filter-apply python-shell-comint-end-of-output-p "\\'" "" nil string-match t #[514 "\300\301\302\303!\"\"\207" [comint-send-string format "exec(%s)\n" python-shell--encode-string] 8 (#$ . 104099)] python-shell-send-string make-closure #[0 "\301\300M\207" [V0 python-shell-send-string] 2] python-shell-send-string-no-output python-shell-readline-detect run-hooks python-shell-first-prompt-hook inhibit-quit] 9 (#$ . 104006)])
(defvar inferior-python-mode-hook nil)
(byte-code "\300\301N\204\f\302\300\301\303#\210\304\305!\204\302\305\306\307#\210\300\207" [inferior-python-mode-hook variable-documentation put "Hook run after entering `inferior-python-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it.  (This is true for all hook variables.)" boundp inferior-python-mode-map definition-name inferior-python-mode] 4)
(defvar inferior-python-mode-map (make-sparse-keymap))#@892 Major mode for Python inferior process.
Runs a Python interpreter as a subprocess of Emacs, with Python
I/O through an Emacs buffer.  Variables `python-shell-interpreter'
and `python-shell-interpreter-args' control which Python
interpreter is run.  Variables
`python-shell-prompt-regexp',
`python-shell-prompt-output-regexp',
`python-shell-prompt-block-regexp',
`python-shell-font-lock-enable',
`python-shell-completion-setup-code',
`python-eldoc-setup-code',
`python-ffap-setup-code' can
customize this mode for different Python interpreters.

This mode resets `comint-output-filter-functions' locally, so you
may want to re-add custom functions to it using the
`inferior-python-mode-hook'.

You can also add additional setup code to be run at
initialization of the interpreter via `python-shell-setup-codes'
variable.

(Type \[describe-mode] in the process buffer for a list of commands.)
(byte-code "\301\302N\204\303\301\302\304\305!#\210\306\307!\204*\303\307\310\311#\210\312\307\306\307!\203&\313\202(\314 \"\210\307\302N\2048\303\307\302\304\315!#\210\306\300!\204X\303\300\310\311#\210\312\300\306\300!\203P\313\202V\316\300\313\"\210\"\210\300\302N\204f\303\300\302\304\317!#\210\320\321!\203t\321\311\322\"\210\202z\303\311\323\322#\210\313\207" [inferior-python-mode-abbrev-table inferior-python-mode-map variable-documentation put purecopy "Keymap for `inferior-python-mode'." boundp inferior-python-mode-syntax-table definition-name inferior-python-mode defvar-1 nil make-syntax-table "Syntax table for `inferior-python-mode'." define-abbrev-table "Abbrev table for `inferior-python-mode'." fboundp derived-mode-set-parent comint-mode derived-mode-parent] 5)
(defalias 'inferior-python-mode #[0 "\306\300!\210\307\310 \210\311\312\310\313N\203\314\311\313\310\313N#\210\315!\204'\316\317 \"\210\320\f!\211\2035\211\321 =\203;\322\f\323 \"\210\210\324
\325\"\204R
7=\204R\326
\3257C#\210\327!\210\330\f!\210
78\203g\3318!\210\306\332!\210\333\306\334!\2109\206y\306\335!\210:\206\206\306\336!\210\333\306\337!\210\333\306\340!\210\333 \341 \210;\306\342!\210\307\"\343<\306\344!\210\345$\306\346!\210\333&\306\347!\210='\306\350!\210\351(\352\353\354\333\355$\210\356\357\360#\210\306\361!\210>\203\344\362 \210\363\351!\210\364 )\210\365\366!\207" [delay-mode-hooks major-mode mode-name inferior-python-mode-map inferior-python-mode-syntax-table inferior-python-mode-abbrev-table make-local-variable t comint-mode inferior-python-mode "Inferior Python" mode-class put keymap-parent set-keymap-parent current-local-map char-table-parent standard-syntax-table set-char-table-parent syntax-table abbrev-table-get :parents abbrev-table-put use-local-map set-syntax-table python-util-clone-local-variables indent-tabs-mode nil python-shell-interpreter python-shell-interpreter-args python-shell--prompt-calculated-input-regexp python-shell--block-prompt python-shell--prompt-calculated-output-regexp python-shell-prompt-set-calculated-regexps comint-prompt-read-only (":%s") comint-output-filter-functions (ansi-color-process-output python-shell-comint-watch-for-first-prompt-output-filter comint-watch-for-password-prompt) comint-highlight-input compilation-error-regexp-alist scroll-conservatively 1 add-hook completion-at-point-functions python-shell-completion-at-point local define-key "	" python-shell-completion-complete-or-indent python-shell-internal-last-output python-shell-font-lock-turn-on compilation-shell-minor-mode python-pdbtrack-setup-tracking run-mode-hooks inferior-python-mode-hook local-abbrev-table python-shell--parent-buffer python-shell--interpreter python-shell--interpreter-args comint-prompt-regexp mode-line-process python-shell-compilation-regexp-alist python-shell-font-lock-enable] 5 (#$ . 105591) nil])#@589 Create a Python shell comint buffer.
CMD is the Python command to be executed and PROC-NAME is the
process name the comint buffer will get.  After the comint buffer
is created the `inferior-python-mode' is activated.  When
optional argument SHOW is non-nil the buffer is shown.  When
optional argument INTERNAL is non-nil this process is run on a
buffer with a name that starts with a space, following the Emacs
convention for temporary/internal buffers, and also makes sure
the user is not queried for confirmation when the process is
killed.

(fn CMD PROC-NAME &optional SHOW INTERNAL)
(defalias 'python-shell-make-comint #[1026 "\212\300\301 \302\303\n%\")\207" [python-shell--with-environment python-shell--calculate-process-environment make-closure #[0 "\306\300\204	\307\202\n\310\302\"\311!\204F\312\303!\211@A\313\314\302\315&p\316!\317\320\321#rq\210\322 )\210\300\203C\323\315\"\210+\266\301\203N\324!\210\207" [V0 V1 V2 V3 python-shell--parent-buffer python-shell--interpreter format "*%s*" " *%s*" comint-check-proc split-string-and-unquote apply make-comint-in-buffer nil get-buffer-process mapconcat identity " " inferior-python-mode set-process-query-on-exit-flag pop-to-buffer python-shell--interpreter-args] 11]] 12 (#$ . 109408)])#@756 Run an inferior Python process.

Argument CMD defaults to `python-shell-calculate-command' return
value.  When called interactively with `prefix-arg', it allows
the user to edit such value and choose whether the interpreter
should be DEDICATED to the current buffer or project.  When
numeric prefix arg is other than 0 or 4 do not SHOW.

For a given buffer and same values of DEDICATED, if a process is
already running for it, it will do nothing.  This means that if
the current buffer is using a global process, the user is still
able to switch it to use a dedicated one.

Runs the hook `inferior-python-mode-hook' after
`comint-mode-hook' is run.  (Type \[describe-mode] in the
process buffer for a list of commands.)

(fn &optional CMD DEDICATED SHOW)
(defalias 'run-python #[768 "\301=\205\302\301!\205\303\304!\211\203\305!\202\306\206\"\307 \310!#\311!)\207" [default-directory project featurep project-current t project-root python-shell-make-comint python-shell-calculate-command python-shell-get-process-name get-buffer-process] 8 (#$ . 110693) (byte-code "\203\302\303\304 \"\305\306\307\310\"@\311\"\312!\313UE\207\304 	\314E\207" [current-prefix-arg python-shell-dedicated read-shell-command "Run Python: " python-shell-calculate-command alist-get read-multiple-choice "Make dedicated process?" ((98 "to buffer") (112 "to project") (110 "no")) ((98 . buffer) (112 . project)) prefix-numeric-value 4 t] 5)])#@165 Restart the Python shell.
Optional argument SHOW (interactively, the prefix argument), if
non-nil, means also display the Python shell buffer.

(fn &optional SHOW)#@18 

(fn DEDICATED)
(defalias 'python-shell-restart #[256 "r\300\301!\203p\206\302\303\304\"\206\305\306!q\210\307p!\211\203(\310!\210\311!\204\"\210\312\313 \314\315 \316\211##)\207" [derived-mode-p inferior-python-mode seq-some #[257 "\300\301\302\303!\"!\207" [get-buffer format "*%s*" python-shell-get-process-name] 6 (#$ . 112308)] (buffer project nil) user-error "No Python shell" get-buffer-process kill-process accept-process-output python-shell-make-comint python-shell-calculate-command string-trim buffer-name "\\*"] 7 (#$ . 112139) "P"])#@668 Run an inferior Internal Python process.
Input and output via buffer named after
`python-shell-internal-buffer-name' and what
`python-shell-internal-get-process-name' returns.

This new kind of shell is intended to be used for generic
communication related to defined configurations; the main
difference with global or dedicated shells is that these ones are
attached to a configuration, not a buffer.  This means that can
be used for example to retrieve the sys.path and other stuff,
without messing with user shells.  Note that
`python-shell-font-lock-enable' and `inferior-python-mode-hook'
are set to nil for these shells, so setup codes are not sent at
startup.
(defalias 'run-python-internal #[0 "\302\211\303\304\305 \306 \302\307$!*\207" [inferior-python-mode-hook python-shell-font-lock-enable nil get-buffer-process python-shell-make-comint python-shell-calculate-command python-shell-internal-get-process-name t] 6 (#$ . 112873)])#@110 Return inferior Python buffer for current buffer.
If current buffer is in `inferior-python-mode', return it.
(defalias 'python-shell-get-buffer #[0 "\300\301!\203p\207\302\303\304\"\207" [derived-mode-p inferior-python-mode seq-some #[257 "\300!\301\302\"\303!\205\211\207" [python-shell-get-process-name format "*%s*" comint-check-proc] 5 (#$ . 112308)] (buffer project nil)] 3 (#$ . 113823)])#@52 Return inferior Python process for current buffer.
(defalias 'python-shell-get-process #[0 "\300\301 !\207" [get-buffer-process python-shell-get-buffer] 2 (#$ . 114230)])#@202 Return inferior Python process for current buffer or signal error.
When argument INTERACTIVEP is non-nil, use `user-error' instead
of `error' with a user-friendly message.

(fn &optional INTERACTIVEP)
(defalias 'python-shell-get-process-or-error #[256 "\301 \206\211\203\302\303\304!\305\306\307\310#!\"\207\311\312!\207" [overriding-local-map python-shell-get-process user-error substitute-command-keys "Start a Python process first with \\`M-x run-python' or `%s'" key-description where-is-internal run-python t error "No inferior Python process running"] 8 (#$ . 114407)])#@324 Get or create an inferior Python process for current buffer and return it.
Arguments CMD, DEDICATED and SHOW are those of `run-python' and
are used to start the shell.  If those arguments are not
provided, `run-python' is called interactively and the user will
be asked for their values.

(fn &optional CMD DEDICATED SHOW)
(defalias 'python-shell-get-or-create-process #[768 "\300 \211\204\204\301\302!\210\202\302#\210\211\206\300 \207" [python-shell-get-process call-interactively run-python] 8 (#$ . 114994)])#@157 Current internal shell buffer for the current buffer.
This is really not necessary at all for the code to work but it's
there for compatibility with CEDET.
(make-obsolete 'python-shell-get-or-create-process "Instead call `python-shell-get-process' and create one if returns nil." "25.1")
(defvar python-shell-internal-buffer nil (#$ . 115525))#@147 Last output captured by the internal shell.
This is really not necessary at all for the code to work but it's
there for compatibility with CEDET.
(defvar python-shell-internal-last-output nil (#$ . 115875))#@52 Get or create an inferior Internal Python process.
(defalias 'python-shell-internal-get-or-create-process #[0 "\300 \301!\203\f\302!\207\303 \207" [python-shell-internal-get-process-name process-live-p get-process run-python-internal] 3 (#$ . 116087)])
(defalias 'python-shell--save-temp-file #[257 "\303!\203\303!\304P\202	\305\306!\307 \310\311\312\"\313\314\"\216r\211q\210\315!\2030\316!\210\2023c\210\317 )\210r\211q\210\320\321\211\321\322%,\266\207" [default-directory temporary-file-directory coding-system-for-write file-remote-p "/tmp" make-temp-file "py" python-info-encoding generate-new-buffer " *temp file*" t make-closure #[0 "\301\300!\205	\302\300!\207" [V0 buffer-name kill-buffer] 2] bufferp insert-buffer-substring delete-trailing-whitespace write-region nil 0] 9 (#$ . 85872)])#@39 Encode TEXT as a valid Python string.#@13 

(fn TEXT)#@229 Send STRING to inferior Python PROCESS.
When optional argument MSG is non-nil, forces display of a
user-friendly message if there's no process running; defaults to
t when called interactively.

(fn STRING &optional PROCESS MSG)
(byte-code "\301\302\303\304!\203\305Y\203\304\202\306\307!\210\310\311\312\"\262\313#\207" [emacs-major-version defalias python-shell--encode-string fboundp json-serialize 28 require json json-encode-string make-closure #[257 "\211;\203	\300!\207\301\302\303D\"\207" [V0 signal wrong-type-argument stringp] 5 (#$ . 116954)] "Encode TEXT as a valid Python string."] 6)
(defalias 'python-shell-send-string #[769 "\206\302!\303\304\305!\305\306 \206\307!#\204+r\310!q\210\212\311!b\210\312\313!*\210\314!\203C\315!\316\301!\203>	\206?\317X\203H\320\"\207r\310!q\210\321!)\306 \206X\211\322\323$\207" [python-shell-output-filter-in-progress comint-max-line-length python-shell-get-process-or-error format "__PYTHON_EL_eval(%s, %s)\n" python-shell--encode-string buffer-file-name "<string>" process-buffer process-mark insert-before-markers "\n" process-tty-name string-bytes boundp 1024 comint-send-string python-shell--save-temp-file python-shell-send-file t] 12 (#$ . 116972) (byte-code "\300\301!\302\303E\207" [read-string "Python command: " nil t] 3)])#@308 Filter used in `python-shell-send-string-no-output' to grab output.
STRING is the output received to this point from the process.
This filter saves received output from the process in
`python-shell-output-filter-buffer' and stops receiving it after
detecting a prompt at the end of the buffer.

(fn STRING)
(defalias 'python-shell-output-filter #[257 "\303!\262P\304!\203$\305\306\211\224O\307\n\"\203$\306\225\305O\310\207" [python-shell-output-filter-buffer python-shell-output-filter-in-progress python-shell--prompt-calculated-output-regexp ansi-color-filter-apply python-shell-comint-end-of-output-p nil 0 string-match ""] 4 (#$ . 118299)])#@94 Send STRING to PROCESS and inhibit output.
Return the output.

(fn STRING &optional PROCESS)#@17 

(fn PROC STR)
(defalias 'python-shell-send-string-no-output #[513 "\211C\211\242\204\f\211\304 \240\210\211\242\305\306\"\307!\305\310#\216\311\"\210\312\211\313\242!\314\315!\2032\315\2029\314\316!\2059\316\317\"\3201i\321\305\322$\216\323	\242\")\210\203a\324\242!\210\202T\n\321)0\202p\210\312\325\326\312\"\206zrq\210\327 )+\207" [python-shell-output-filter-in-progress inhibit-quit python-shell-output-filter-buffer quit-flag python-shell-get-process-or-error make-closure #[514 "r\301\300\242!q\210\302!)\207" [V0 process-buffer python-shell-output-filter] 4 (#$ . 119062)] process-filter #[0 "\302\301\300\"\207" [V0 V1 set-process-filter] 3] set-process-filter t process-buffer boundp comint-last-prompt-overlay comint-last-prompt buffer-local-value (quit) nil #[0 "\301??\205r\302q\210\301\300L)\207" [V0 V1 V2] 2] python-shell-send-string accept-process-output eval (ignore nil) comint-interrupt-subjob] 15 (#$ . 118964)])#@125 Send STRING to the Internal Python interpreter.
Returns the output.  See `python-shell-send-string-no-output'.

(fn STRING)
(defalias 'python-shell-internal-send-string #[257 "\301\302\303\304#\305 \"\211\207" [python-shell-internal-last-output python-shell-send-string-no-output replace-regexp-in-string "_emacs_out +" "" python-shell-internal-get-or-create-process] 6 (#$ . 120040)])#@801 Send buffer substring from START to END formatted for shell.
This is a wrapper over `buffer-substring' that takes care of
different transformations for the code sent to be evaluated in
the python shell:
  1. When optional argument NOMAIN is non-nil everything under an
     "if __name__ == \='__main__\='" block will be removed.
  2. When a subregion of the buffer is sent, it takes care of
     appending extra empty lines so tracebacks are correct.
  3. When the region sent is a substring of the current buffer, a
     coding cookie is added.
  4. When the region consists of a single statement, leading
     whitespaces will be removed.  Otherwise, wraps indented
     regions under an "if True:" block so the interpreter
     evaluates them correctly.

(fn START END &optional NOMAIN NO-COOKIE)
(defalias 'python-shell-buffer-substring #[1026 "\212\214}\210b\210\300 b\210\300 U*\212b\210\211\203\"\301w\210`\202:\302 {\303\304\305\306$\266\204\2039\302 \202:)\307\"\212\214~\210b\210\310 \311U*\312 \212b\210\313\311!\210\314 )\315U\203c\304\202\201\204y\316\317\"\320\310!\321Z\322\"P\202\201\320\310!S\322\"\323\324\306\"r\211q\210\325\326\"\216\327 \210\203\230c\210\204\254\204\254\330y\210\331c\210`\332 |\210c\210	\203\347	\205\311\212\333 \205\310`\334 \210\311y\210`B)\211@A\320\310!\310!Z\322\"\203\345b\210|\210\211c\210\266eb\210\335\336\306\"\262\203\311y\210\335\336\306\"\262\203\302 \332 |\210\307ed\"*\207" [python-nav-beginning-of-statement "[:space:]" line-beginning-position "\\`[ 	\n
]*\\'" nil string-match t buffer-substring-no-properties line-number-at-pos 1 python-info-encoding python-util-forward-comment current-indentation 0 format "# -*- coding: %s -*-\n" make-string 2 10 generate-new-buffer " *temp*" make-closure #[0 "\301\300!\205	\302\300!\207" [V0 buffer-name kill-buffer] 2] python-mode -1 "if True:\n" line-end-position python-nav-if-name-main python-nav-forward-sexp-safe "^#[[:space:]]*\\(?:coding[:=][[:space:]]*\\(?1:[[:word:]-]+\\)\\|-\\*-[[:space:]]*coding:[[:space:]]*\\(?1:[[:word:]-]+\\)[[:space:]]*-\\*-\\|vim:[[:space:]]*set[[:space:]]+fileencoding[[:space:]]*=[[:space:]]*\\(?1:[[:word:]-]+\\)[[:space:]]*:\\)" looking-at] 19 (#$ . 120434)])#@577 Send the region delimited by START and END to inferior Python process.
When optional argument SEND-MAIN is non-nil, allow execution of
code inside blocks delimited by "if __name__== \='__main__\=':".
When called interactively SEND-MAIN defaults to nil, unless it's
called with prefix argument.  When optional argument MSG is
non-nil, forces display of a user-friendly message if there's no
process running; defaults to t when called interactively.  The
substring to be sent is retrieved using `python-shell-buffer-substring'.

(fn START END &optional SEND-MAIN MSG NO-COOKIE)
(defalias 'python-shell-send-region #[1282 "\300?$\301!\302\"\303\304\"\210\305\306\307\310\311\"\"\210r\312!q\210\313 )\210\314\"\210\315 \207" [python-shell-buffer-substring python-shell-get-process-or-error buffer-substring-no-properties string-match "\\`\n*\\(.*\\)" nil message "Sent: %s..." match-string 1 process-buffer compilation-forget-errors python-shell-send-string deactivate-mark] 14 (#$ . 122703) (byte-code "\301 \302 \303F\207" [current-prefix-arg region-beginning region-end t] 4)])#@622 Send the statement at point to inferior Python process.
The statement is delimited by `python-nav-beginning-of-statement' and
`python-nav-end-of-statement', but if the region  is active, the text
in the region is sent instead via `python-shell-send-region'.
Optional argument SEND-MAIN, if non-nil, means allow execution of code
inside blocks delimited by "if __name__ == \='__main__\=':".
Interactively, SEND-MAIN is the prefix argument.
Optional argument MSG, if non-nil, forces display of a user-friendly
message if there's no process running; it defaults to t when called
interactively.

(fn &optional SEND-MAIN MSG)
(defalias 'python-shell-send-statement #[512 "\300 \203\301\302 \303 $\207\301\212\304 )\212\305 )\306%\207" [region-active-p python-shell-send-region region-beginning region-end python-nav-beginning-of-statement python-nav-end-of-statement t] 8 (#$ . 123801) (list current-prefix-arg t)])#@423 Send the block at point to inferior Python process.
The block is delimited by `python-nav-beginning-of-block' and
`python-nav-end-of-block'.  If optional argument ARG is non-nil
(interactively, the prefix argument), send the block body with
its header.  If optional argument MSG is non-nil, force display
of a user-friendly message if there's no process running; this
always happens interactively.

(fn &optional ARG MSG)
(defalias 'python-shell-send-block #[512 "\212\301 \203\203\302 \210\202\303 \210\302\304!\210\305 )\212\306 )\307\2033\211\2033\310\307\311%\2026\312\313!)\207" [python-indent-guess-indent-offset-verbose python-nav-beginning-of-block beginning-of-line python-nav-end-of-statement 2 point-marker python-nav-end-of-block nil python-shell-send-region t user-error "Can't get code block from current position"] 10 (#$ . 124724) (list current-prefix-arg t)])#@459 Send the entire buffer to inferior Python process.
When optional argument SEND-MAIN is non-nil, allow execution of
code inside blocks delimited by "if __name__== \='__main__\=':".
When called interactively SEND-MAIN defaults to nil, unless it's
called with prefix argument.  When optional argument MSG is
non-nil, forces display of a user-friendly message if there's no
process running; defaults to t when called interactively.

(fn &optional SEND-MAIN MSG)
(defalias 'python-shell-send-buffer #[512 "\214~\210\300ed$)\207" [python-shell-send-region] 7 (#$ . 125623) (list current-prefix-arg t)])#@286 Send the current defun to inferior Python process.
When argument ARG is non-nil do not include decorators.  When
optional argument MSG is non-nil, forces display of a
user-friendly message if there's no process running; defaults to
t when called interactively.

(fn &optional ARG MSG)
(defalias 'python-shell-send-defun #[512 "`\212\300\301\210\302 \204\303\301!\203\304 \305V\204\204,\306y\305=\203,\307\310!\204\301y\210\311 b\210\312 \2049\301\210\311 \313$)\207" [python-shell-send-region 1 python-nav-beginning-of-defun beginning-of-line current-indentation 0 -1 looking-at "^[[:space:]]*@[_[:alpha:]][_[:word:]]*" point-marker python-nav-end-of-defun nil] 8 (#$ . 126228) (list current-prefix-arg t)])#@580 Send FILE-NAME to inferior Python PROCESS.

If TEMP-FILE-NAME is passed then that file is used for processing
instead, while internally the shell will continue to use
FILE-NAME.  FILE-NAME can be remote, but TEMP-FILE-NAME must be
in the same host as PROCESS.  If TEMP-FILE-NAME and DELETE are
non-nil, then TEMP-FILE-NAME is deleted after evaluation is
performed.

When optional argument MSG is non-nil, forces display of a
user-friendly message if there's no process running; defaults to
t when called interactively.

(fn FILE-NAME &optional PROCESS TEMP-FILE-NAME DELETE MSG)
(defalias 'python-shell-send-file #[1281 "\206\301!\262r\302!q\210\204:\303!\303!\230\204:\304\262\305\306\304\"r\211q\210\307\310\"\216\311!\210\312p!*\262\262)\313\314!!\205J\313\314!!\315\316\317\320!\320\206Z\321!	\203d\322\202e\323$\"\207" [default-directory python-shell-get-process-or-error process-buffer file-remote-p t generate-new-buffer " *temp*" make-closure #[0 "\301\300!\205	\302\300!\207" [V0 buffer-name kill-buffer] 2] insert-file-contents python-shell--save-temp-file file-local-name expand-file-name comint-send-string format "__PYTHON_EL_eval_file(%s, %s, %s)\n" python-shell--encode-string "" "True" "False"] 14 (#$ . 126958) (byte-code "\300\301!\302\211\211\303\257\207" [read-file-name "File to send: " nil t] 5)])#@216 Switch to inferior Python process buffer.
When optional argument MSG is non-nil, forces display of a
user-friendly message if there's no process running; defaults to
t when called interactively.

(fn &optional MSG)
(defalias 'python-shell-switch-to-shell #[256 "\300\301\302!!\303\304#\207" [pop-to-buffer process-buffer python-shell-get-process-or-error nil mark-for-redisplay] 5 (#$ . 128318) "p"])#@125 Send all setup code for shell.
This function takes the list of setup code to send from the
`python-shell-setup-codes' list.#@12 

(fn ELT)
(defalias 'python-shell-send-setup-code #[0 "\205\301 \302\303\304#\260\305\"\210\306!\266\202\207" [python-shell-setup-codes python-shell-get-process mapconcat #[257 "\211;\203\207\2119\203\211J\207\300\207" [""] 2 (#$ . 128855)] "\n\nprint ('python.el: sent setup code')" python-shell-send-string python-shell-accept-process-output] 5 (#$ . 128726)])#@61 Code used to setup completion in inferior Python processes.#@56 Completion string code must also autocomplete modules.#@46 Completion string code must work for (i)pdb.#@86 List of disabled interpreters.
When a match is found, native completion is disabled.#@42 Enable readline based native completion.#@65 Time in seconds to wait for completion output before giving up.#@64 Time in seconds to wait for *trying* native completion output.#@281 Word delimiters used by the readline completer.
It is automatically set by Python shell.  An empty string means no
characters are considered delimiters and the readline completion
considers the entire line of input.  A value of nil means the Python
shell has no readline support.
(byte-code "\300\301\302\"\210\303\304\305\306\307DD\310\311\312%\210\313\314\315\316#\210\317\211\2037\211@\314N\2032\315N\2042\320\315\314N#\210\210A\202\210\321\314\315\322#\210\313\323\315\324#\210\317\211\203d\211@\323N\203_\315N\204_\320\315\323N#\210\210A\202E\210\321\323\315\325#\210\303\326\305\306\327DD\330\331\332\311\333&\210\303\334\305\306\335DD\336\331\325\311\337&\210\303\340\305\306\341DD\342\331\325\311\343&\210\303\344\305\306\345DD\346\331\325\311\343&\207" [add-hook python-shell-first-prompt-hook python-shell-send-setup-code custom-declare-variable python-shell-completion-setup-code funcall function #[0 "\300\207" ["\ndef __PYTHON_EL_get_completions(text):\n    completions = []\n    completer = None\n\n    import json\n    try:\n        import readline, re\n\n        try:\n            import __builtin__\n        except ImportError:\n            # Python 3\n            import builtins as __builtin__\n        builtins = dir(__builtin__)\n\n        is_ipython = ('__IPYTHON__' in builtins or\n                      '__IPYTHON__active' in builtins)\n\n        if is_ipython and 'get_ipython' in builtins:\n            def filter_c(prefix, c):\n                if re.match('_+(i?[0-9]+)?$', c):\n                    return False\n                elif c[0] == '%' and not re.match('[%a-zA-Z]+$', prefix):\n                    return False\n                return True\n\n            import IPython\n            try:\n                if IPython.version_info[0] >= 6:\n                    from IPython.core.completer import provisionalcompleter\n                    with provisionalcompleter():\n                        completions = [\n                            [c.text, c.start, c.end, c.type or '?', c.signature or '']\n                             for c in get_ipython().Completer.completions(text, len(text))\n                             if filter_c(text, c.text)]\n                else:\n                    part, matches = get_ipython().Completer.complete(line_buffer=text)\n                    completions = [text + m[len(part):] for m in matches if filter_c(text, m)]\n            except:\n                pass\n        else:\n            # Try to reuse current completer.\n            completer = readline.get_completer()\n            if not completer:\n                # importing rlcompleter sets the completer, use it as a\n                # last resort to avoid breaking customizations.\n                import rlcompleter\n                completer = readline.get_completer()\n            if getattr(completer, 'PYTHON_EL_WRAPPED', False):\n                completer.print_mode = False\n            i = 0\n            while True:\n                completion = completer(text, i)\n                if not completion:\n                    break\n                i += 1\n                completions.append(completion)\n    except:\n        pass\n    finally:\n        if getattr(completer, 'PYTHON_EL_WRAPPED', False):\n            completer.print_mode = True\n    return json.dumps(completions)"] 1 (#$ . 308)] (#$ . 129236) :type string defvaralias python-shell-completion-module-string-code python-shell-completion-string-code (#$ . 129301) (saved-value saved-variable-comment) put make-obsolete-variable "24.4" python-shell-completion-pdb-string-code (#$ . 129361) "25.1" python-shell-completion-native-disabled-interpreters #[0 "\301=\203\302\207\303\207" [system-type windows-nt ("") ("pypy")] 2 (#$ . 308)] (#$ . 129411) :version "28.1" (repeat string) python-shell-completion-native-enable #[0 "\300\207" [t] 1 (#$ . 308)] (#$ . 129501) boolean python-shell-completion-native-output-timeout #[0 "\300\207" [5.0] 1 (#$ . 308)] (#$ . 129547) float python-shell-completion-native-try-output-timeout #[0 "\300\207" [1.0] 1 (#$ . 308)] (#$ . 129616)] 8)
(defvar python-shell-readline-completer-delims nil (#$ . 129685))#@58 Detect the readline support for Python shell completion.
(defalias 'python-shell-readline-detect #[0 "\301 \302\303\"\304\300!\210\305\306\"?\205\307!\211\207" [python-shell-readline-completer-delims python-shell-get-process python-shell-send-string-no-output "\ntry:\n    import readline\n    print(readline.get_completer_delims())\nexcept:\n    print('No readline support')" make-local-variable string-search "No readline support" string-trim-right] 5 (#$ . 133858)])#@60 Buffer to be used to redirect output of readline commands.
(defvar python-shell-completion-native-redirect-buffer " *Python completions redirect*" (#$ . 134339))#@63 Return non-nil if interpreter has native completion disabled.
(defalias 'python-shell-completion-native-interpreter-disabled-p #[0 "\205\f\302\303!\304	!\"\207" [python-shell-completion-native-disabled-interpreters python-shell-interpreter string-match regexp-opt file-name-nondirectory] 4 (#$ . 134506)])#@50 Return non-nil if can trigger native completion.
(defalias 'python-shell-completion-native-try #[0 "\303\304\305p!\306\"*\207" [python-shell-completion-native-try-output-timeout python-shell-completion-native-output-timeout python-shell-completion-native-enable t python-shell-completion-native-get-completions get-buffer-process "_"] 3 (#$ . 134820)])#@60 Try to setup native completion, return non-nil on success.
(defalias 'python-shell-completion-native-setup #[0 "\300 \301\302\"\303\304\305\306$\266\203\205\307 \207" [python-shell-get-process python-shell-send-string-no-output "\ndef __PYTHON_EL_native_completion_setup():\n    try:\n        import readline\n\n        try:\n            import __builtin__\n        except ImportError:\n            # Python 3\n            import builtins as __builtin__\n\n        builtins = dir(__builtin__)\n        is_ipython = ('__IPYTHON__' in builtins or\n                      '__IPYTHON__active' in builtins)\n\n        class __PYTHON_EL_Completer:\n            '''Completer wrapper that prints candidates to stdout.\n\n            It wraps an existing completer function and changes its behavior so\n            that the user input is unchanged and real candidates are printed to\n            stdout.\n\n            Returned candidates are '0__dummy_completion__' and\n            '1__dummy_completion__' in that order ('0__dummy_completion__' is\n            returned repeatedly until all possible candidates are consumed).\n\n            The real candidates are printed to stdout so that they can be\n            easily retrieved through comint output redirect trickery.\n            '''\n\n            PYTHON_EL_WRAPPED = True\n\n            def __init__(self, completer):\n                self.completer = completer\n                self.last_completion = None\n                self.print_mode = True\n\n            def __call__(self, text, state):\n                if state == 0:\n                    # Set the first dummy completion.\n                    self.last_completion = None\n                    completion = '0__dummy_completion__'\n                else:\n                    completion = self.completer(text, state - 1)\n\n                if not completion:\n                    if self.last_completion != '1__dummy_completion__':\n                        # When no more completions are available, returning a\n                        # dummy with non-sharing prefix allow ensuring output\n                        # while preventing changes to current input.\n                        # Coincidentally it's also the end of output.\n                        completion = '1__dummy_completion__'\n                elif completion.endswith('('):\n                    # Remove parens on callables as it breaks completion on\n                    # arguments (e.g. str(Ari<tab>)).\n                    completion = completion[:-1]\n                self.last_completion = completion\n\n                if completion in (\n                        '0__dummy_completion__', '1__dummy_completion__'):\n                    return completion\n                elif completion:\n                    # For every non-dummy completion, return a repeated dummy\n                    # one and print the real candidate so it can be retrieved\n                    # by comint output filters.\n                    if self.print_mode:\n                        print (completion)\n                        return '0__dummy_completion__'\n                    else:\n                        return completion\n                else:\n                    return completion\n\n        completer = readline.get_completer()\n\n        if not completer:\n            # Used as last resort to avoid breaking customizations.\n            import rlcompleter\n            completer = readline.get_completer()\n\n        if completer and not getattr(completer, 'PYTHON_EL_WRAPPED', False):\n            # Wrap the existing completer function only once.\n            new_completer = __PYTHON_EL_Completer(completer)\n            if not is_ipython:\n                readline.set_completer(new_completer)\n            else:\n                # Try both initializations to cope with all IPython versions.\n                # This works fine for IPython 3.x but not for earlier:\n                readline.set_completer(new_completer)\n                # IPython<3 hacks readline such that `readline.set_completer`\n                # won't work.  This workaround injects the new completer\n                # function into the existing instance directly:\n                instance = getattr(completer, 'im_self', completer.__self__)\n                instance.rlcomplete = new_completer\n\n        if readline.__doc__ and 'libedit' in readline.__doc__:\n            raise Exception('''libedit based readline is known not to work,\n      see etc/PROBLEMS under \"In Inferior Python mode, input is echoed\".''')\n            readline.parse_and_bind('bind ^I rl_complete')\n        else:\n            readline.parse_and_bind('tab: complete')\n            # Require just one tab to send output.\n            readline.parse_and_bind('set show-all-if-ambiguous on')\n            # Avoid ANSI escape characters in the output\n            readline.parse_and_bind('set colored-completion-prefix off')\n            readline.parse_and_bind('set colored-stats off')\n            # Avoid replacing common prefix with ellipsis.\n            readline.parse_and_bind('set completion-prefix-display-length 0')\n\n        print ('python.el: native completion setup loaded')\n    except:\n        import sys\n        print ('python.el: native completion setup failed, %s: %s'\n               % sys.exc_info()[:2])\n\n__PYTHON_EL_native_completion_setup()" "python\\.el: native completion setup loaded" nil string-match t python-shell-completion-native-try] 10 (#$ . 135181)])#@101 Turn off shell native completions.
With argument MSG show deactivation message.

(fn &optional MSG)
(defalias 'python-shell-completion-native-turn-off #[256 "\301 r\302!q\210\303\300!\210\304\205\305\306!)\207" [python-shell-completion-native-enable python-shell-get-process-or-error process-buffer make-local-variable nil message "Shell native completion is disabled, using fallback"] 4 (#$ . 140707) "p"])#@100 Turn on shell native completions.
With argument MSG show deactivation message.

(fn &optional MSG)
(defalias 'python-shell-completion-native-turn-on #[256 "\301 r\302!q\210\303\300!\210\304\305!)\207" [python-shell-completion-native-enable python-shell-get-process-or-error process-buffer make-local-variable t python-shell-completion-native-turn-on-maybe] 4 (#$ . 141126) "p"])#@130 Turn on native completions if enabled and available.
With argument MSG show activation/deactivation message.

(fn &optional MSG)
(defalias 'python-shell-completion-native-turn-on-maybe #[256 "\302 r\303!q\210\2055\304 \203\305!\2025	\203*\306 \203*\2055\307\310!\2025\2032\307\311!\210\305\312!)\207" [python-shell-completion-native-enable python-shell-readline-completer-delims python-shell-get-process-or-error process-buffer python-shell-completion-native-interpreter-disabled-p python-shell-completion-native-turn-off python-shell-completion-native-setup message "Shell native completion is enabled." "Python does not use GNU readline; no completion in multi-line commands." nil] 4 (#$ . 141514) "p"])#@73 Like `python-shell-completion-native-turn-on-maybe' but force messages.
(defalias 'python-shell-completion-native-turn-on-maybe-with-msg #[0 "\300\301!\207" [python-shell-completion-native-turn-on-maybe t] 2 (#$ . 142239)])#@109 Toggle shell native completion.
With argument MSG show activation/deactivation message.

(fn &optional MSG)
(add-hook 'python-shell-first-prompt-hook 'python-shell-completion-native-turn-on-maybe-with-msg)
(defalias 'python-shell-completion-native-toggle #[256 "\301 r\302!q\210\203\303!\210\202\304!\210)\207" [python-shell-completion-native-enable python-shell-get-process-or-error process-buffer python-shell-completion-native-turn-off python-shell-completion-native-turn-on] 4 (#$ . 142469) "p"])#@81 Get completions of INPUT using native readline for PROCESS.

(fn PROCESS INPUT)
(defalias 'python-shell-completion-native-get-completions #[514 "r\306!q\210\307!\310!	\311\230\203\312\202\313\314P\212d\315 ZG\\)\316\317\"P\320\321#\216rq\210\322 \210\323\211\211\324\325\n*+\326\327!G\330U\203^\331	\332\327\n\"\"\210\202d\331	\327\"\210\333	\"\210\334	,#\205\261\335\336\323\324#\210\337\340 e\"\211\341\342O\343\230\203\245\3441\225\345!0\262\202\261\210\346\347\324#\350\351#\262\202\261\346\347\324#\350\351#\262.	\207" [python-shell-completion-native-redirect-buffer python-shell-readline-completer-delims comint-redirect-output-buffer comint-redirect-finished-regexp comint-redirect-insert-matching-regexp comint-redirect-perform-sanity-check process-buffer process-filter get-buffer-create "" "[\n
]+" "[ \f	\n
()]+" "	" comint-bol make-string 8 make-closure #[0 "\302\301\300\"\207" [V0 V1 set-process-filter] 3] erase-buffer nil t "1__dummy_completion__.*\n" help-function-arglist comint-redirect-filter 3 set-process-filter apply-partially process-send-string python-shell-accept-process-output re-search-backward "0__dummy_completion__" buffer-substring-no-properties line-beginning-position 0 1 "[" (t) python--parse-json-array cl-remove-duplicates split-string :test string= comint-redirect-completed comint-redirect-echo-input python-shell-completion-native-output-timeout] 15 (#$ . 142984)])#@61 Get completions of INPUT using PROCESS.

(fn PROCESS INPUT)
(defalias 'python-shell-completion-get-completions #[514 "r\301!q\210\302\303\304\305\306!#\"!)\207" [python-shell-completion-setup-code process-buffer python--parse-json-array python-shell-send-string-no-output format "%s\nprint(__PYTHON_EL_get_completions(%s))" python-shell--encode-string] 9 (#$ . 144446)])#@53 Return lines at a multi-line input in Python shell.
(defalias 'python-shell--get-multiline-input #[0 "\212`\301\302 \210\303\304 \"\2036\305`\"\262C\306\307!\210\303\304 \"\203-\305`\310 \"B\262\202\305`\310 \"B\262)\207" [python-shell-prompt-block-regexp nil beginning-of-line looking-back pos-bol buffer-substring-no-properties comint-previous-prompt 1 pos-eol] 5 (#$ . 144827)])#@64 Get extra completion context of current input in Python shell.
(defalias 'python-shell--extra-completion-context #[0 "\302 \303\211G\304U?\2052\305\306\307\"r\211q\210\310\311\"\216\312\301!\210\307\313\314\315#\266\202c\210\316 \210\317 +\262)\207" [python-indent-guess-indent-offset delay-mode-hooks python-shell--get-multiline-input nil 0 generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205	\302\300!\207" [V0 buffer-name kill-buffer] 2] make-local-variable "\n" mapconcat identity python-mode python-shell-completion-extra-context] 8 (#$ . 145226)])#@380 Get extra completion context at position POS in Python buffer.
If optional argument POS is nil, use current position.

Readline completers could use current line as the completion
context, which may be insufficient.  In this function, extra
context (e.g. multi-line function call) is found and reformatted
as one line, which is required by native completion.

(fn &optional POS)
(defalias 'python-shell-completion-extra-context #[256 "\300\211\212\203\nb\210\301 \262\302\303!\210`W\203.\304\305\301 \306#\204*\307y\210\310\311!\203.\312\224\262)\211\205=\313\314\315\316S\"#\207" [nil pos-bol python-nav-up-list -1 looking-back "\\(\\(?:\\.\\|[_[:alpha:]][_[:word:]]*\\)+\\)" t 0 looking-at "^[ 	]*\\(from \\)" 1 replace-regexp-in-string "\n[ 	]*" "" buffer-substring-no-properties] 9 (#$ . 145807)])#@61 Variable to store cached completions and invalidation keys.
(defvar python-shell--capf-cache nil (#$ . 146627))#@210 Function for `completion-at-point-functions' in `inferior-python-mode'.
Optional argument PROCESS forces completions to be retrieved
using that one instead of current buffer's process.

(fn &optional PROCESS)#@10 

(fn S)#@10 

(fn C)
(make-variable-buffer-local 'python-shell--capf-cache)
(defalias 'python-shell-completion-at-point #[256 "\211\206\306p!\262\211\204\307\310!\210\311\312!\211\203\313 A\202 \314 \203.\315`S\316\"\317=\202;\320 \3218\2059\3228\262?\205ar\323!q\210\203O	\324\230\202`\325\n\326\327\330$\266\203\206`	\324\232)`W\203k`\202\205\212\211\204y\331\332\330\333$\204}\202\204\334\335!Gu\210`)`r\323!q\210\313 )r\323!q\210\211\205\241\336@A\")r\323!q\210\211\203\314\203\271`AW\204\314\204\320\326\327\330$\266\203\203\320\337\202\377\203\342\326\327\330$\266\203\203\376\f\232\204\366
\326\327\330$\266\203\203\372\337\202\377\340\202\377\341)2@2A@\206\f3\336\"\335	\205$\203\"\342 \202$\343 \211G\211\335U\2041P\262	@\232\203K\327\"\203KG\333\225Z\211\262\204n@\211\324\230\262\203\\3\202c\344\345!\346Q\"BB22AA\211@;\203\272\f\203\263G\211\205\210\327\347\"\211\205\216\335\224\211\203\245\\[\\\350\351\352\"\"E\207
\211\350\351\353\"\"E\207E\207\211@:\205\345@A@\\[\\\354
\355@8[$\356\351\357\"\360\351\361\"\257\207" [python-shell-completion-native-enable python-shell-readline-completer-delims python-shell-interpreter python-shell-prompt-pdb-regexp python-shell--block-prompt python-shell-prompt-block-regexp get-buffer-process user-error "No active python inferior process" derived-mode-p inferior-python-mode python-util-comint-last-prompt line-beginning-position get-text-property face font-lock-comment-face syntax-ppss 4 8 process-buffer "" "ipython[23]?\\'" nil string-match t re-search-backward "[]()[{}[:space:]]\\|\\(?:[^\"'\\]\\|\\=\\|\\(?:[^\\]\\|\\=\\)\\\\\\(?:\\\\\\\\\\)*[\"']\\)\\(?:\\\\\\\\\\)*\\(\\(?:\"\"\"\\|'''\\|[\"']\\)\\)\\|[%&*+/<->^|~-]" 1 match-string-no-properties 0 buffer-substring-no-properties ignore python-shell-completion-get-completions python-shell-completion-native-get-completions python-shell--extra-completion-context python-shell-completion-extra-context "\\`\\(" regexp-quote "\\)\\(?:\\sw\\|\\s_\\)*\\'" "\\(\\sw\\|\\s_\\)+\\'" mapcar make-closure #[257 "\211\300\301O\207" [V0 nil] 4 (#$ . 146959)] #[257 "\211\300\301O\207" [V0 nil] 4 (#$ . 146959)] + 2 :annotation-function #[257 "\301\302\303\300\"8P\207" [V0 " " 3 assoc] 6 (#$ . 146973)] :company-docsig #[257 "\301\302\300\"8\207" [V0 4 assoc] 5 (#$ . 146973)] python-shell--capf-cache regexp-unmatchable] 25 (#$ . 146745)])#@123 Complete or indent depending on the context.
If content before pointer is all whitespace, indent.
If not try to complete.
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias python-shell-completion-complete-at-point python-shell-completion-at-point nil make-obsolete "25.1"] 4)
(defalias 'python-shell-completion-complete-or-indent #[0 "\300\301\302 `{\"\203
\303 \207\304 \207" [string-match "^[[:space:]]*$" comint-line-beginning-position indent-for-tab-command completion-at-point] 4 (#$ . 149474) nil])#@569 Non-nil makes Python shell enable pdbtracking.
Pdbtracking would open the file for current stack frame found in pdb output by
`python-pdbtrack-stacktrace-info-regexp' and add overlay arrow in currently
inspected line in that file.

After the command listed in `python-pdbtrack-continue-command' or
`python-pdbtrack-exit-command' is sent to pdb, the pdbtracking session is
considered over.  The overlay arrow will be removed from the currently tracked
buffer.  Additionally, if `python-pdbtrack-kill-buffers' is non-nil, all
files opened by pdbtracking will be killed.#@612 Regular expression matching stacktrace information.
Used to extract the current line and module being inspected.

Must match lines with real filename, like
 > /path/to/file.py(42)<module>()->None
and lines in which filename starts with `<', e.g.
 > <stdin>(1)<module>()->None

In the first case /path/to/file.py file will be visited and overlay icon
will be placed in line 42.
In the second case pdbtracking session will be considered over because
the top stack frame has been reached.

Filename is expected in the first parenthesized expression.
Line number is expected in the second parenthesized expression.#@481 Pdb `continue' command aliases.
After one of these commands is sent to pdb, the pdbtracking session is
considered over.

This command is remembered by pdbtracking.  If the next command sent to pdb
is the empty string, it is treated as `continue' if the previous command
was `continue'.  This behavior slightly differentiates the `continue' command
from the `exit' command listed in `python-pdbtrack-exit-command'.

See `python-pdbtrack-activate' for pdbtracking session overview.#@178 Pdb `exit' command aliases.
After one of this commands is sent to pdb, pdbtracking session is
considered over.

See `python-pdbtrack-activate' for pdbtracking session overview.#@177 If non-nil, kill buffers when pdbtracking session is over.
Only buffers opened by pdbtracking will be killed.

See `python-pdbtrack-activate' for pdbtracking session overview.#@146 Variable containing the value of the current tracked buffer.
Never set this variable directly, use
`python-pdbtrack-set-tracked-buffer' instead.
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\315\316\317\310\320&	\210\300\321\302\303\322DD\323\306\324\316\317&\210\300\325\302\303\326DD\327\306\330\316\317&\210\300\331\302\303\332DD\333\306\307\316\317&\207" [custom-declare-variable python-pdbtrack-activate funcall function #[0 "\300\207" [t] 1 (#$ . 308)] (#$ . 150002) :type boolean :safe booleanp python-pdbtrack-stacktrace-info-regexp #[0 "\300\207" ["> \\([^\"(]+\\)(\\([0-9]+\\))\\([?a-zA-Z0-9_<>]+\\)()"] 1 (#$ . 308)] (#$ . 150576) regexp :version "27.1" stringp python-pdbtrack-continue-command #[0 "\300\207" [("c" "cont" "continue")] 1 (#$ . 308)] (#$ . 151193) (repeat string) python-pdbtrack-exit-command #[0 "\300\207" [("q" "quit" "exit")] 1 (#$ . 308)] (#$ . 151679) (repeat string) python-pdbtrack-kill-buffers #[0 "\300\207" [t] 1 (#$ . 308)] (#$ . 151862)] 10)
(defvar python-pdbtrack-tracked-buffer nil (#$ . 152044))#@56 List of buffers to be deleted after tracking finishes.
(defvar python-pdbtrack-buffers-to-kill nil (#$ . 153137))#@46 Is t if previous pdb command was `continue'.
(defvar python-pdbtrack-prev-command-continue nil (#$ . 153256))#@163 Set the buffer for FILE-NAME as the tracked buffer.
Internally it uses the `python-pdbtrack-tracked-buffer' variable.
Returns the tracked buffer.

(fn FILE-NAME)
(defalias 'python-pdbtrack-set-tracked-buffer #[257 "\304!P\305!\211\204D\306!\203\307!\262\202+\232\204+\306!\203+\307!\262	\203D\211\n\235\204D\211\n\235\203@\n\210\202D\211\nB\211\207" [default-directory python-pdbtrack-kill-buffers python-pdbtrack-buffers-to-kill python-pdbtrack-tracked-buffer file-remote-p get-file-buffer file-exists-p find-file-noselect] 5 (#$ . 153372)])#@35 Untrack currently tracked buffer.
(defalias 'python-pdbtrack-unset-tracked-buffer #[0 "\302!\203rq\210	\303\211\223)\210\303\211\207" [python-pdbtrack-tracked-buffer overlay-arrow-position buffer-live-p nil] 3 (#$ . 153943)])#@18 Finish tracking.#@15 

(fn BUFFER)
(defalias 'python-pdbtrack-tracking-finish #[0 "\302 \210\203\f\303\304	\"\210\305\211\207" [python-pdbtrack-kill-buffers python-pdbtrack-buffers-to-kill python-pdbtrack-unset-tracked-buffer mapc #[257 "\3001	\301!0\207\302\207" [(error) kill-buffer nil] 4 (#$ . 154201)] nil] 3 (#$ . 154179)])#@61 Untrack buffers when PROCESS is killed.

(fn PROCESS EVENT)
(defalias 'python-pdbtrack-process-sentinel #[514 "\300!?\205\301!\302!\205r\211q\210\303 )\262\207" [process-live-p process-buffer buffer-live-p python-pdbtrack-tracking-finish] 5 (#$ . 154520)])#@161 Finish tracking session depending on command in INPUT.
Commands that must finish the tracking session are listed in
`python-pdbtrack-exit-command'.

(fn INPUT)
(defalias 'python-pdbtrack-comint-input-filter-function #[257 "\2053\211\211\304\230\262\2041\305\306!\307\"@\211	\235\206$\211\211\304\230\262\205$\n\211\206,\211\235\262\2053\310 \207" [python-pdbtrack-tracked-buffer python-pdbtrack-continue-command python-pdbtrack-prev-command-continue python-pdbtrack-exit-command "" split-string string-trim " " python-pdbtrack-tracking-finish] 6 (#$ . 154791)])#@141 Move overlay arrow to current pdb line in tracked buffer.
Argument OUTPUT is a string with the output from the comint process.

(fn OUTPUT)
(defalias 'python-pdbtrack-comint-output-filter-function #[257 "\203\221\211\305\230\204\221\306	d{!\307\310\311\312\"r\211q\210\313\314\"\216c\210db\210\315 b\210\316\n!\205?\317\307\312#\205?\320\321\322!!\262\321\323!*\262\211\203\217\203\217\324\325\"\203V\326 \266\207\327 \210\330!p\331!\307rq\210\332\304!\210\333 eb\210Sy\210\334 \262\203\200\335\"\210\f\307\223)\210\336!\210\337!\266\266\207" [python-pdbtrack-activate comint-last-input-end python-shell-prompt-pdb-regexp python-pdbtrack-stacktrace-info-regexp overlay-arrow-position "" ansi-color-filter-apply nil generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205	\302\300!\207" [V0 buffer-name kill-buffer] 2] line-beginning-position looking-at re-search-backward string-to-number match-string-no-properties 2 1 string-prefix-p "<" python-pdbtrack-tracking-finish python-pdbtrack-unset-tracked-buffer python-pdbtrack-set-tracked-buffer get-buffer-window make-local-variable make-marker point-marker set-window-point pop-to-buffer switch-to-buffer-other-window] 11 (#$ . 155372)])#@39 Setup pdb tracking in current buffer.#@16 

(fn GV--VAL)
(defalias 'python-pdbtrack-setup-tracking #[0 "\300\301!\210\300\302!\210\303\304\305\306\307$\210\310\300\311!\312\"\210\313\314\315p!\316\317\"\316\320\"B\262\321\306$\210\303\322\323\306\307$\207" [make-local-variable python-pdbtrack-buffers-to-kill python-pdbtrack-tracked-buffer add-hook comint-input-filter-functions python-pdbtrack-comint-input-filter-function nil t add-to-list comint-output-filter-functions python-pdbtrack-comint-output-filter-function advice--add-function :before get-buffer-process make-closure #[0 "\301\300!\207" [V0 process-sentinel] 2] #[257 "\301\300\"\207" [V0 set-process-sentinel] 4 (#$ . 156648)] python-pdbtrack-process-sentinel kill-buffer-hook python-pdbtrack-tracking-finish] 7 (#$ . 156605)])#@221 Function for `completion-at-point-functions' in `python-mode'.
For this to work as best as possible you should call
`python-shell-send-buffer' from time to time so context in
inferior Python process is updated properly.
(defalias 'python-completion-at-point #[0 "\300 \211\205\301 r\302!q\210\303 )\262\205\304!\207" [python-shell-get-process python-shell-get-process-or-error process-buffer python-util-comint-end-of-output-p python-shell-completion-at-point] 4 (#$ . 157409)])#@99 Function to fill comments.
This is the function used by `python-fill-paragraph' to
fill comments.#@97 Function to fill strings.
This is the function used by `python-fill-paragraph' to
fill strings.#@103 Function to fill decorators.
This is the function used by `python-fill-paragraph' to
fill decorators.#@95 Function to fill parens.
This is the function used by `python-fill-paragraph' to
fill parens.#@1082 Style used to fill docstrings.
This affects `python-fill-string' behavior with regards to
triple quotes positioning.

Possible values are `django', `onetwo', `pep-257', `pep-257-nn',
`symmetric', and nil.  A value of nil won't care about quotes
position and will treat docstrings a normal string, any other
value may result in one of the following docstring styles:

`django':

    """
    Process foo, return bar.
    """

    """
    Process foo, return bar.

    If processing fails throw ProcessingError.
    """

`onetwo':

    """Process foo, return bar."""

    """
    Process foo, return bar.

    If processing fails throw ProcessingError.

    """

`pep-257':

    """Process foo, return bar."""

    """Process foo, return bar.

    If processing fails throw ProcessingError.

    """

`pep-257-nn':

    """Process foo, return bar."""

    """Process foo, return bar.

    If processing fails throw ProcessingError.
    """

`symmetric':

    """Process foo, return bar."""

    """
    Process foo, return bar.

    If processing fails throw ProcessingError.
    """#@12 

(fn VAL)#@339 `fill-paragraph-function' handling multi-line strings and possibly comments.
If any of the current line is in or at the end of a multi-line string,
fill the string or the paragraph of it that point is in, preserving
the string's indentation.
Optional argument JUSTIFY defines if the paragraph should be justified.

(fn &optional JUSTIFY)
(byte-code "\300\301\302\303#\210\304\301\302\305#\210\306\307\310\311\312DD\313\314\315%\210\306\316\310\311\317DD\320\314\315%\210\306\321\310\311\322DD\323\314\315%\210\306\324\310\311\325DD\326\314\315%\210\306\327\310\311\330DD\331\314\332\333\334&\207" [defalias python-completion-complete-at-point python-completion-at-point nil make-obsolete "25.1" custom-declare-variable python-fill-comment-function funcall function #[0 "\300\207" [python-fill-comment] 1 (#$ . 308)] (#$ . 157900) :type symbol python-fill-string-function #[0 "\300\207" [python-fill-string] 1 (#$ . 308)] (#$ . 158003) python-fill-decorator-function #[0 "\300\207" [python-fill-decorator] 1 (#$ . 308)] (#$ . 158105) python-fill-paren-function #[0 "\300\207" [python-fill-paren] 1 (#$ . 308)] (#$ . 158212) python-fill-docstring-style #[0 "\300\207" [pep-257] 1 (#$ . 308)] (#$ . 158313) (choice (const :tag "Don't format docstrings" nil) (const :tag "Django's coding standards style." django) (const :tag "One newline and start and Two at end style." onetwo) (const :tag "PEP-257 with 2 newlines at end of string." pep-257) (const :tag "PEP-257 with 1 newline at end of string." pep-257-nn) (const :tag "Symmetric style." symmetric)) :safe #[257 "\211\300>\207" [(django onetwo pep-257 pep-257-nn symmetric nil)] 3 (#$ . 159399)]] 8)
(defalias 'python-fill-paragraph #[256 "\212\304 \3058\205\f\3068\262\203!\202T\307 \203\"	!\202T\212\310 )f\311=\2032\n!\202T\304 A@\204M\312\313!\204M\212\314\315\316 \"\210\312\313!)\203S!\202T\317)\207" [python-fill-comment-function python-fill-string-function python-fill-decorator-function python-fill-paren-function syntax-ppss 4 8 python-info-triple-quoted-string-p python-nav-beginning-of-statement 64 looking-at "[([{]" skip-syntax-forward "^(" line-end-position t] 4 (#$ . 159416) "P"])#@139 Comment fill function for `python-fill-paragraph'.
JUSTIFY should be used (if applicable) as in `fill-paragraph'.

(fn &optional JUSTIFY)
(defalias 'python-fill-comment #[256 "\300!\207" [fill-comment-paragraph] 3 (#$ . 161593)])#@138 String fill function for `python-fill-paragraph'.
JUSTIFY should be used (if applicable) as in `fill-paragraph'.

(fn &optional JUSTIFY)
(defalias 'python-fill-string #[256 "\302 \303 \304\223\211f\304\305\211\306W\203*\203\\W\203*\\f=\203*T\202\266\203\212b\210\307 \210\310 )\212\\b\210\311\312\304\313#\204Gdb\210\310 )\314\315#\305V\316\267\202\205\317\211B\202\206\211\205\206\317\320B\202\206\211\205\206\304\320B\202\206\211\205\206\304\317B\202\206\211\205\206\317\211B\202\206\304\304\214}\210\321!)\210\212\322 \203\341\203\341\\b\210`\323\324!\210`|\210\211@\203\267\325@!\210\326 \210dU\204\303Z\202\304b\210`\327\324!\210`|\210\211A\203\341dU\204\341\325A!\210\326 \210*\313\207" [python-fill-docstring-style fill-paragraph-function make-marker python-info-triple-quoted-string-p nil 0 3 beginning-of-line point-marker re-search-forward "\\s|" t count-matches "\n" #s(hash-table test eq purecopy t data (django 87 onetwo 93 pep-257 103 pep-257-nn 113 symmetric 123)) 1 2 fill-paragraph python-info-docstring-p skip-syntax-forward "> " newline indent-according-to-mode skip-syntax-backward] 11 (#$ . 161830)])#@141 Decorator fill function for `python-fill-paragraph'.
JUSTIFY should be used (if applicable) as in `fill-paragraph'.

(fn &optional JUSTIFY)
(defalias 'python-fill-decorator #[256 "\300\207" [t] 2 (#$ . 163012)])#@137 Paren fill function for `python-fill-paragraph'.
JUSTIFY should be used (if applicable) as in `fill-paragraph'.

(fn &optional JUSTIFY)
(defalias 'python-fill-paren #[256 "\214\303 A@\203`Sb\210\202\304 \303 A@\204&\305\210\303 A@\204&\306\307!\210\303 A@\2038m\2048`Tb\210\202&`}\210\310\311\305eb\210\312!+\210m\204Z\313y\210\314 \210\315 b\210\202I)\316\207" [fill-paragraph-function paragraph-separate paragraph-start syntax-ppss line-beginning-position nil skip-syntax-backward "^)" "\f\\|[ 	]*$" "," fill-paragraph 1 python-indent-line line-end-position t] 4 (#$ . 163230)])#@64 Like `do-auto-fill', but bind `fill-indent-according-to-mode'.
(defalias 'python-do-auto-fill #[0 "\301\302 )\207" [fill-indent-according-to-mode t do-auto-fill] 1 (#$ . 163832)])#@151 Non-nil means template skeletons will be automagically inserted.
This happens when pressing "if<SPACE>", for example, to prompt for
the if condition.#@39 Internal list of available skeletons.
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable python-skeleton-autoinsert funcall function #[0 "\300\207" [nil] 1 (#$ . 308)] (#$ . 164019) :type boolean :safe booleanp] 8)
(defvar python-skeleton-available nil (#$ . 164174))#@41 Abbrev table for Python mode skeletons.#@193 Define a `python-mode' skeleton using NAME DOC and SKEL.
The skeleton will be bound to python-skeleton-NAME and will
be added to `python-mode-skeleton-abbrev-table'.

(fn NAME DOC &rest SKEL)
(define-abbrev-table 'python-mode-skeleton-abbrev-table nil '(#$ . 164483) :case-fixed t :regexp "\\(?:^\\|[^/]\\)\\<\\([[:word:]/]+\\)\\W*" :enable-function #[0 "\301\302\206\303 8\262?\205\207" [python-skeleton-autoinsert nil 8 syntax-ppss] 3])
(defalias 'python-skeleton-define '(macro . #[642 "\300!\301\302P!\303\304\305D\306BB\307\310\311\305D\312BBBBB\313\314\315\305D\316BBE\317	\2065\320\321	\"	BBB\257\207" [symbol-name intern "python-skeleton-" progn function-put quote ('command-modes '(python-base-mode)) define-abbrev python-mode-skeleton-abbrev-table "" (:system t) setq python-skeleton-available cons (python-skeleton-available) define-skeleton format "Insert %s statement."] 14 (#$ . 164529)]))#@32 Abbrev table for Python modes.#@156 Define a `python-mode' auxiliary skeleton using NAME DOC and SKEL.
The skeleton will be bound to python-skeleton-NAME.

(fn NAME &optional DOC &rest SKEL)
(byte-code "\301\302\303\304#\305\306\307\310\311C%\207" [python-mode-skeleton-abbrev-table function-put python-skeleton-define lisp-indent-function 2 define-abbrev-table python-base-mode-abbrev-table nil (#$ . 165459) :parents] 7)
(defalias 'python-define-auxiliary-skeleton '(macro . #[641 "\300!\301\302P!\303\304!\203\304\202\305\306\"\204$\307\305\310\"\311BB\262\312\313\314D\315BB\316\2068\305\317\"\320\321\322D\323BB\nBBBBBE\207" [symbol-name intern "python-skeleton--" fboundp format-message format "Add `%s' clause? " < "%s:" (n n > _ n) progn function-put quote ('completion-predicate #'ignore) define-skeleton "Auxiliary skeleton for %s statement." nil unless y-or-n-p ((signal 'quit t))] 15 (#$ . 165496)]))#@567 Auxiliary skeleton for else statement.

This is a skeleton command (see `skeleton-insert').
Normally the skeleton text is inserted at point, with nothing "inside".
If there is a highlighted region, the skeleton text is wrapped
around the region text.

A prefix argument ARG says to wrap the skeleton around the next ARG words.
A prefix argument of -1 says to wrap around region, even if not highlighted.
A prefix argument of zero says to wrap around zero words---that is, nothing.
This is a way of overriding the use of a highlighted region.

(fn &optional STR ARG)
(byte-code "\300\301\302\303#\300\304\305\306#\307\304\310\311#\207" [function-put python-define-auxiliary-skeleton lisp-indent-function 2 python-skeleton--else completion-predicate ignore put no-self-insert t] 6)
(defalias 'python-skeleton--else #[512 "\304 \305\211\305C\306\307#\216\310!\210\311\312#\313\240,\210\207" [most-positive-fixnum undo-strong-limit undo-limit undo-outer-limit prepare-change-group nil make-closure #[0 "\300\242\203	\302\301!\207\303\301!\207" [V0 V1 accept-change-group cancel-change-group] 2] activate-change-group skeleton-proxy-new (nil (unless (y-or-n-p "Add ‘else’ clause? ") (signal 'quit t)) < "else:" n n > _ n) t] 11 (#$ . 166401) "*P\nP"])#@569 Auxiliary skeleton for except statement.

This is a skeleton command (see `skeleton-insert').
Normally the skeleton text is inserted at point, with nothing "inside".
If there is a highlighted region, the skeleton text is wrapped
around the region text.

A prefix argument ARG says to wrap the skeleton around the next ARG words.
A prefix argument of -1 says to wrap around region, even if not highlighted.
A prefix argument of zero says to wrap around zero words---that is, nothing.
This is a way of overriding the use of a highlighted region.

(fn &optional STR ARG)
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put python-skeleton--except completion-predicate ignore put no-self-insert t] 5)
(defalias 'python-skeleton--except #[512 "\304 \305\211\305C\306\307#\216\310!\210\311\312#\313\240,\210\207" [most-positive-fixnum undo-strong-limit undo-limit undo-outer-limit prepare-change-group nil make-closure #[0 "\300\242\203	\302\301!\207\303\301!\207" [V0 V1 accept-change-group cancel-change-group] 2] activate-change-group skeleton-proxy-new (nil (unless (y-or-n-p "Add ‘except’ clause? ") (signal 'quit t)) < "except:" n n > _ n) t] 11 (#$ . 167675) "*P\nP"])#@570 Auxiliary skeleton for finally statement.

This is a skeleton command (see `skeleton-insert').
Normally the skeleton text is inserted at point, with nothing "inside".
If there is a highlighted region, the skeleton text is wrapped
around the region text.

A prefix argument ARG says to wrap the skeleton around the next ARG words.
A prefix argument of -1 says to wrap around region, even if not highlighted.
A prefix argument of zero says to wrap around zero words---that is, nothing.
This is a way of overriding the use of a highlighted region.

(fn &optional STR ARG)
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put python-skeleton--finally completion-predicate ignore put no-self-insert t] 5)
(defalias 'python-skeleton--finally #[512 "\304 \305\211\305C\306\307#\216\310!\210\311\312#\313\240,\210\207" [most-positive-fixnum undo-strong-limit undo-limit undo-outer-limit prepare-change-group nil make-closure #[0 "\300\242\203	\302\301!\207\303\301!\207" [V0 V1 accept-change-group cancel-change-group] 2] activate-change-group skeleton-proxy-new (nil (unless (y-or-n-p "Add ‘finally’ clause? ") (signal 'quit t)) < "finally:" n n > _ n) t] 11 (#$ . 168886) "*P\nP"])#@549 Insert if statement.

This is a skeleton command (see `skeleton-insert').
Normally the skeleton text is inserted at point, with nothing "inside".
If there is a highlighted region, the skeleton text is wrapped
around the region text.

A prefix argument ARG says to wrap the skeleton around the next ARG words.
A prefix argument of -1 says to wrap around region, even if not highlighted.
A prefix argument of zero says to wrap around zero words---that is, nothing.
This is a way of overriding the use of a highlighted region.

(fn &optional STR ARG)
(byte-code "\302\303\304\305#\306\307\310\303\311\312&\210\303	B\313\303\314\312#\207" [python-mode-skeleton-abbrev-table python-skeleton-available function-put python-skeleton-if command-modes (python-base-mode) define-abbrev "if" "" :system t put no-self-insert] 8)
(defalias 'python-skeleton-if #[512 "\304 \305\211\305C\306\307#\216\310!\210\311\312#\313\240,\210\207" [most-positive-fixnum undo-strong-limit undo-limit undo-outer-limit prepare-change-group nil make-closure #[0 "\300\242\203	\302\301!\207\303\301!\207" [V0 V1 accept-change-group cancel-change-group] 2] activate-change-group skeleton-proxy-new ("Condition: " "if " str ":" n _ n ("other condition, %s: " < "elif " str ":" n > _ n nil) '(python-skeleton--else) | ^) t] 11 (#$ . 170102) "*P\nP"])#@552 Insert while statement.

This is a skeleton command (see `skeleton-insert').
Normally the skeleton text is inserted at point, with nothing "inside".
If there is a highlighted region, the skeleton text is wrapped
around the region text.

A prefix argument ARG says to wrap the skeleton around the next ARG words.
A prefix argument of -1 says to wrap around region, even if not highlighted.
A prefix argument of zero says to wrap around zero words---that is, nothing.
This is a way of overriding the use of a highlighted region.

(fn &optional STR ARG)
(byte-code "\302\303\304\305#\306\307\310\303\311\312&\210\303	B\313\303\314\312#\207" [python-mode-skeleton-abbrev-table python-skeleton-available function-put python-skeleton-while command-modes (python-base-mode) define-abbrev "while" "" :system t put no-self-insert] 8)
(defalias 'python-skeleton-while #[512 "\304 \305\211\305C\306\307#\216\310!\210\311\312#\313\240,\210\207" [most-positive-fixnum undo-strong-limit undo-limit undo-outer-limit prepare-change-group nil make-closure #[0 "\300\242\203	\302\301!\207\303\301!\207" [V0 V1 accept-change-group cancel-change-group] 2] activate-change-group skeleton-proxy-new ("Condition: " "while " str ":" n > _ n '(python-skeleton--else) | ^) t] 11 (#$ . 171444) "*P\nP"])#@550 Insert for statement.

This is a skeleton command (see `skeleton-insert').
Normally the skeleton text is inserted at point, with nothing "inside".
If there is a highlighted region, the skeleton text is wrapped
around the region text.

A prefix argument ARG says to wrap the skeleton around the next ARG words.
A prefix argument of -1 says to wrap around region, even if not highlighted.
A prefix argument of zero says to wrap around zero words---that is, nothing.
This is a way of overriding the use of a highlighted region.

(fn &optional STR ARG)
(byte-code "\302\303\304\305#\306\307\310\303\311\312&\210\303	B\313\303\314\312#\207" [python-mode-skeleton-abbrev-table python-skeleton-available function-put python-skeleton-for command-modes (python-base-mode) define-abbrev "for" "" :system t put no-self-insert] 8)
(defalias 'python-skeleton-for #[512 "\304 \305\211\305C\306\307#\216\310!\210\311\312#\313\240,\210\207" [most-positive-fixnum undo-strong-limit undo-limit undo-outer-limit prepare-change-group nil make-closure #[0 "\300\242\203	\302\301!\207\303\301!\207" [V0 V1 accept-change-group cancel-change-group] 2] activate-change-group skeleton-proxy-new ("Iteration spec: " "for " str ":" n > _ n '(python-skeleton--else) | ^) t] 11 (#$ . 172747) "*P\nP"])#@553 Insert import statement.

This is a skeleton command (see `skeleton-insert').
Normally the skeleton text is inserted at point, with nothing "inside".
If there is a highlighted region, the skeleton text is wrapped
around the region text.

A prefix argument ARG says to wrap the skeleton around the next ARG words.
A prefix argument of -1 says to wrap around region, even if not highlighted.
A prefix argument of zero says to wrap around zero words---that is, nothing.
This is a way of overriding the use of a highlighted region.

(fn &optional STR ARG)
(byte-code "\302\303\304\305#\306\307\310\303\311\312&\210\303	B\313\303\314\312#\207" [python-mode-skeleton-abbrev-table python-skeleton-available function-put python-skeleton-import command-modes (python-base-mode) define-abbrev "import" "" :system t put no-self-insert] 8)
(defalias 'python-skeleton-import #[512 "\304 \305\211\305C\306\307#\216\310!\210\311\312#\313\240,\210\207" [most-positive-fixnum undo-strong-limit undo-limit undo-outer-limit prepare-change-group nil make-closure #[0 "\300\242\203	\302\301!\207\303\301!\207" [V0 V1 accept-change-group cancel-change-group] 2] activate-change-group skeleton-proxy-new ("Import from module: " "from " str & " " | -5 "import " ("Identifier: " str ", ") -2 n _) t] 11 (#$ . 174045) "*P\nP"])#@550 Insert try statement.

This is a skeleton command (see `skeleton-insert').
Normally the skeleton text is inserted at point, with nothing "inside".
If there is a highlighted region, the skeleton text is wrapped
around the region text.

A prefix argument ARG says to wrap the skeleton around the next ARG words.
A prefix argument of -1 says to wrap around region, even if not highlighted.
A prefix argument of zero says to wrap around zero words---that is, nothing.
This is a way of overriding the use of a highlighted region.

(fn &optional STR ARG)
(byte-code "\302\303\304\305#\306\307\310\303\311\312&\210\303	B\313\303\314\312#\207" [python-mode-skeleton-abbrev-table python-skeleton-available function-put python-skeleton-try command-modes (python-base-mode) define-abbrev "try" "" :system t put no-self-insert] 8)
(defalias 'python-skeleton-try #[512 "\304 \305\211\305C\306\307#\216\310!\210\311\312#\313\240,\210\207" [most-positive-fixnum undo-strong-limit undo-limit undo-outer-limit prepare-change-group nil make-closure #[0 "\300\242\203	\302\301!\207\303\301!\207" [V0 V1 accept-change-group cancel-change-group] 2] activate-change-group skeleton-proxy-new (nil "try:" n > _ n ("Exception, %s: " < "except " str ":" n > _ n nil) resume: '(python-skeleton--except) '(python-skeleton--else) '(python-skeleton--finally) | ^) t] 11 (#$ . 175373) "*P\nP"])#@550 Insert def statement.

This is a skeleton command (see `skeleton-insert').
Normally the skeleton text is inserted at point, with nothing "inside".
If there is a highlighted region, the skeleton text is wrapped
around the region text.

A prefix argument ARG says to wrap the skeleton around the next ARG words.
A prefix argument of -1 says to wrap around region, even if not highlighted.
A prefix argument of zero says to wrap around zero words---that is, nothing.
This is a way of overriding the use of a highlighted region.

(fn &optional STR ARG)
(byte-code "\302\303\304\305#\306\307\310\303\311\312&\210\303	B\313\303\314\312#\207" [python-mode-skeleton-abbrev-table python-skeleton-available function-put python-skeleton-def command-modes (python-base-mode) define-abbrev "def" "" :system t put no-self-insert] 8)
(defalias 'python-skeleton-def #[512 "\304 \305\211\305C\306\307#\216\310!\210\311\312#\313\240,\210\207" [most-positive-fixnum undo-strong-limit undo-limit undo-outer-limit prepare-change-group nil make-closure #[0 "\300\242\203	\302\301!\207\303\301!\207" [V0 V1 accept-change-group cancel-change-group] 2] activate-change-group skeleton-proxy-new ("Function name: " "def " str "(" ("Parameter, %s: " (unless (equal 40 (char-before)) ", ") str) "):" n "\"\"\"" - "\"\"\"" n > _ n) t] 11 (#$ . 176763) "*P\nP"])#@552 Insert class statement.

This is a skeleton command (see `skeleton-insert').
Normally the skeleton text is inserted at point, with nothing "inside".
If there is a highlighted region, the skeleton text is wrapped
around the region text.

A prefix argument ARG says to wrap the skeleton around the next ARG words.
A prefix argument of -1 says to wrap around region, even if not highlighted.
A prefix argument of zero says to wrap around zero words---that is, nothing.
This is a way of overriding the use of a highlighted region.

(fn &optional STR ARG)
(byte-code "\302\303\304\305#\306\307\310\303\311\312&\210\303	B\313\303\314\312#\207" [python-mode-skeleton-abbrev-table python-skeleton-available function-put python-skeleton-class command-modes (python-base-mode) define-abbrev "class" "" :system t put no-self-insert] 8)
(defalias 'python-skeleton-class #[512 "\304 \305\211\305C\306\307#\216\310!\210\311\312#\313\240,\210\207" [most-positive-fixnum undo-strong-limit undo-limit undo-outer-limit prepare-change-group nil make-closure #[0 "\300\242\203	\302\301!\207\303\301!\207" [V0 V1 accept-change-group cancel-change-group] 2] activate-change-group skeleton-proxy-new ("Class name: " "class " str "(" ("Inheritance, %s: " (unless (equal 40 (char-before)) ", ") str) & ")" | -1 ":" n "\"\"\"" - "\"\"\"" n > _ n) t] 11 (#$ . 178121) "*P\nP"])#@43 Add menu items to Python->Skeletons menu.
(defalias 'python-skeleton-add-menu-items #[0 "\301\302\"\211\211\205%\211@\303\304\305\306\307\310\311\312\313	!\314\"8\"\315##\266A\202\207" [python-skeleton-available sort string< easy-menu-add-item nil ("Python" "Skeletons") vector format "Insert %s" 2 split-string symbol-name "-" t] 13 (#$ . 179497)])#@35 Python code to get a module path.#@67 Function for `ffap-alist' to return path for MODULE.

(fn MODULE)
(byte-code "\300\301\302\303\304DD\305\306\307%\207" [custom-declare-variable python-ffap-setup-code funcall function #[0 "\300\207" ["\ndef __FFAP_get_module_path(objstr):\n    try:\n        import inspect\n        import os.path\n        # NameError exceptions are delayed until this point.\n        obj = eval(objstr)\n        module = inspect.getmodule(obj)\n        filename = module.__file__\n        ext = os.path.splitext(filename)[1]\n        if ext in ('.pyc', '.pyo'):\n            # Point to the source file.\n            filename = filename[:-1]\n        if os.path.exists(filename):\n            return filename\n        return ''\n    except:\n        return ''"] 1 (#$ . 308)] (#$ . 179859) :type string] 6)
(defalias 'python-ffap-module-path #[257 "\301 \211\205\302 r\303!q\210\304 )\262\211\205!\305\306\307\310!#!\211\2052\211\211\311\230\262?\2052\312!\207" [python-ffap-setup-code python-shell-get-process python-shell-get-process-or-error process-buffer python-util-comint-end-of-output-p python-shell-send-string-no-output format "%s\nprint(__FFAP_get_module_path(%s))" python-shell--encode-string "" python-util-strip-string] 9 (#$ . 179898)])#@38 Command used to check a Python file.#@38 Buffer name used for check commands.#@15 Internal use.
(byte-code "\300\301\302\"\210\303\304\305\306\307DD\310\311\312\313\314&\210\303\315\305\306\316DD\317\311\312%\207" [eval-after-load "ffap" #[0 "\301B\302B\211\207" [ffap-alist (python-mode . python-ffap-module-path) (inferior-python-mode . python-ffap-module-path)] 2] custom-declare-variable python-check-command funcall function #[0 "\300\301!\203\301\207\300\302!\203\302\207\300\303!\203\303\207\300\304!\203 \304\207\301\207" [executable-find "pyflakes" "ruff" "flake8" "epylint"] 2 (#$ . 308)] (#$ . 181150) :type string :version "30.1" python-check-buffer-name #[0 "\300\207" ["*Python check: %s*"] 1 (#$ . 308)] (#$ . 181192)] 8)
(defvar python-check-custom-command nil (#$ . 181234))#@163 Check a Python file (default current buffer's file).
Runs COMMAND, a shell command, as if by `compile'.
See `python-check-command' for the default.

(fn COMMAND)#@17 

(fn MODENAME)
(make-variable-buffer-local 'python-check-custom-command)
(defalias 'python-check #[257 "\211\302	?\303\"\210\304\305 \306\307\"\"\207" [python-check-custom-command compilation-ask-about-save save-some-buffers nil python-shell--with-environment python-shell--calculate-process-environment make-closure #[0 "\301\300\302\303\304\300\"#\207" [V0 compilation-start nil make-closure #[257 "\302	\300\"\207" [V0 python-check-buffer-name format] 4 (#$ . 182129)]] 6]] 6 (#$ . 181962) (byte-code "\302\303\206	\304\305\306 \211\205\307!\262\206\310!Q\"C\207" [python-check-custom-command python-check-command read-string "Check command: " " " shell-quote-argument buffer-file-name file-name-nondirectory ""] 8)])#@47 Python code to setup documentation retrieval.#@95 Get the current symbol for eldoc.
Returns the current symbol handling point within arguments.
(byte-code "\300\301\302\303\304DD\305\306\307%\207" [custom-declare-variable python-eldoc-setup-code funcall function #[0 "\300\207" ["def __PYDOC_get_help(obj):\n    try:\n        import inspect\n        try:\n            str_type = basestring\n            argspec_function = inspect.getargspec\n        except NameError:\n            str_type = str\n            argspec_function = inspect.getfullargspec\n        if isinstance(obj, str_type):\n            obj = eval(obj, globals())\n        doc = inspect.getdoc(obj)\n        if not doc and callable(obj):\n            target = None\n            if inspect.isclass(obj) and hasattr(obj, '__init__'):\n                target = obj.__init__\n                objtype = 'class'\n            else:\n                target = obj\n                objtype = 'def'\n            if target:\n                if hasattr(inspect, 'signature'):\n                    args = str(inspect.signature(target))\n                else:\n                    args = inspect.formatargspec(*argspec_function(target))\n                name = obj.__name__\n                doc = '{objtype} {name}{args}'.format(\n                    objtype=objtype, name=name, args=args\n                )\n    except:\n        doc = ''\n    return doc"] 1 (#$ . 308)] (#$ . 182867) :type string] 6)
(defalias 'python-eldoc--get-symbol-at-point #[0 "\212\300 A@\211\203\f\211b\210\211\204m\204\301fz\302>\203 \303\304!\210\210\305\306!)\207" [syntax-ppss nil (32 45) python-util-forward-comment -1 python-info-current-symbol t] 3 (#$ . 182918)])#@276 Internal implementation to get documentation at point.
If not FORCE-INPUT is passed then what `python-eldoc--get-symbol-at-point'
returns will be used.  If not FORCE-PROCESS is passed what
`python-shell-get-process' returns is used.

(fn &optional FORCE-INPUT FORCE-PROCESS)
(defalias 'python-eldoc--get-doc-at-point #[512 "\211\206\301 \211\205>\302 r\303!q\210\304 )\262\205>\206 \305 \211\2051\306\307\310\311\312!#\"!\211\211\313\230\262?\205<\211\266\202\207" [python-eldoc-setup-code python-shell-get-process python-shell-get-process-or-error process-buffer python-util-comint-end-of-output-p python-eldoc--get-symbol-at-point python-util-strip-string python-shell-send-string-no-output format "%s\nprint(__PYDOC_get_help(%s))" python-shell--encode-string ""] 11 (#$ . 184579)])#@200 Non-nil means eldoc should fetch the documentation automatically.
Set to nil by `python-eldoc-function' if
`python-eldoc-function-timeout-permanent' is non-nil and
`python-eldoc-function' times out.
(defvar python-eldoc-get-doc t (#$ . 185385))#@49 Timeout for `python-eldoc-function' in seconds.#@176 If non-nil, a timeout in Python-Eldoc will disable it permanently.
Python-Eldoc can be re-enabled manually by setting `python-eldoc-get-doc'
back to t in the affected buffer.#@557 `eldoc-documentation-function' for Python.
For this to work as best as possible you should call
`python-shell-send-buffer' from time to time so context in
inferior Python process is updated properly.

If `python-eldoc-function-timeout' seconds elapse before this
function returns then if
`python-eldoc-function-timeout-permanent' is non-nil
`python-eldoc-get-doc' will be set to nil and eldoc will no
longer return the documentation at the point automatically.

Set `python-eldoc-get-doc' to t to reenable eldoc documentation
fetching.

(fn &rest IGNORED)
(byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313&\210\302\314\304\305\315DD\316\310\317\312\313&\207" [make-variable-buffer-local python-eldoc-get-doc custom-declare-variable python-eldoc-function-timeout funcall function #[0 "\300\207" [1] 1 (#$ . 308)] (#$ . 185635) :type integer :version "25.1" python-eldoc-function-timeout-permanent #[0 "\300\207" [t] 1 (#$ . 308)] (#$ . 185689) boolean] 8)
(defalias 'python-eldoc-function #[128 "\2052\3042\305	\306\307#\211\nB\310\311\"\216\312 *\2620\211\304=\2032\203.\313\314!\210\306\211\207\313\315!\207\207" [python-eldoc-get-doc python-eldoc-function-timeout with-timeout-timers python-eldoc-function-timeout-permanent #1=#:timeout run-with-timer nil #[0 "\300\301\211\"\207" [throw #1#] 3] make-closure #[0 "\301\300!\207" [V0 cancel-timer] 2] python-eldoc--get-doc-at-point message "ElDoc echo-area display muted in this buffer, see `python-eldoc-function'" "`python-eldoc-function' timed out, see `python-eldoc-function-timeout'"] 5 (#$ . 185870)])#@81 Get help on SYMBOL using `help'.
Interactively, prompt for symbol.

(fn SYMBOL)
(defalias 'python-eldoc-at-point #[257 "\300\301!!\207" [message python-eldoc--get-doc-at-point] 4 (#$ . 187465) (byte-code "\301 \302\303\304\305!\203\305\306\"\202\203\307\310\"\202\311\312\211$)C\207" [enable-recursive-minibuffers python-eldoc--get-symbol-at-point t read-string fboundp format-prompt "Describe symbol" format "Describe symbol (default %s): " "Describe symbol: " nil] 6)])#@23 

(fn SYMBOL PROCESS)
(defalias 'python-describe-at-point #[514 "\300\301\302Q\"\207" [comint-send-string "help('" "')\n"] 7 (#$ . 187956) (byte-code "\300 \301 D\207" [python-info-current-symbol python-shell-get-process] 2)])#@97 Python specific `forward-sexp' function for `hs-minor-mode'.
Argument ARG is ignored.

(fn ARG)
(defalias 'python-hideshow-forward-sexp-function #[257 "\300 \210\301\207" [python-nav-end-of-block nil] 2 (#$ . 188190)])#@297 Python specific `hs-find-next-block' function for `hs-minor-mode'.
Call `python-nav-forward-block' to find next block and check if
block-start ends within MAXP.  If COMMENTS is not nil, comments
are also searched.  REGEXP is passed to `looking-at' to set
`match-data'.

(fn REGEXP MAXP COMMENTS)
(defalias 'python-hideshow-find-next-block #[771 "\212\300 \203\301\302\303#\206#\304 \203!`W\203!\301\302\303#\206#T)\203W\212\305\211\301\306\303#\203Q\307 \3108\205?\3118\262\203M\210`\305\211\262\202N\303\204+)\262\206YT^\211X\205n\211b\210\212\312 \210\313!)\207" [python-info-looking-at-beginning-of-block re-search-forward "\\_<\\(?:def\\|class\\|if\\|elif\\|else\\|try\\|except\\|finally\\|for\\|while\\|with\\|match\\|case\\|async[[:space:]]+\\(?:def\\|for\\|with\\)\\)\\_>" t python-nav-forward-block nil "#" syntax-ppss 4 8 beginning-of-line looking-at] 10 (#$ . 188416)])#@103 Imenu function used to format an item label.
It must be a function with two arguments: TYPE and NAME.
(defvar python-imenu-format-item-label-function 'python-imenu-format-item-label (#$ . 189334))#@109 Imenu function used to format a parent item label.
It must be a function with two arguments: TYPE and NAME.
(defvar python-imenu-format-parent-item-label-function 'python-imenu-format-parent-item-label (#$ . 189537))#@114 Imenu function used to format a parent jump item label.
It must be a function with two arguments: TYPE and NAME.
(defvar python-imenu-format-parent-item-jump-label-function 'python-imenu-format-parent-item-jump-label (#$ . 189760))#@73 Return Imenu label for single node using TYPE and NAME.

(fn TYPE NAME)
(defalias 'python-imenu-format-item-label #[514 "\300\301#\207" [format "%s (%s)"] 6 (#$ . 189997)])#@73 Return Imenu label for parent node using TYPE and NAME.

(fn TYPE NAME)
(defalias 'python-imenu-format-parent-item-label #[514 "\300\301\302\"\"\207" [format "%s..." python-imenu-format-item-label] 7 (#$ . 190177)])#@78 Return Imenu label for parent node jump using TYPE and NAME.

(fn TYPE NAME)
(defalias 'python-imenu-format-parent-item-jump-label #[514 "\300\230\203\301\207\302\207" ["class" "*class definition*" "*function definition*"] 4 (#$ . 190400)])#@49 Return defun type and name at current position.
(defalias 'python-imenu--get-defun-type-name #[0 "\301!\205!\302\303\304!!\211G\305U\203\207\211@\306A@Q\307!@D\262\207" [python-nav-beginning-of-defun-regexp looking-at split-string match-string-no-properties 0 2 " " last] 4 (#$ . 190649)])#@74 Add the parent with TYPE, NAME and POS to TREE.

(fn TYPE NAME POS TREE)
(defalias 'python-imenu--put-parent #[1028 "\"	\"\204B\207BBB\207" [python-imenu-format-item-label-function python-imenu-format-parent-item-jump-label-function] 9 (#$ . 190951)])#@233 Recursively build the tree of nested definitions of a node.
Arguments MIN-INDENT, PREV-INDENT and TREE are internal and should
not be passed explicitly unless you know what you are doing.

(fn &optional MIN-INDENT PREV-INDENT TREE)
(defalias 'python-imenu--build-tree #[768 "\206\302\262\206\f\262\303 \211\205\304 \211@A@\211\205#	\"\305 	\\\2040\306\207\nX\203@\307	$\207\310\n\211X\203T\nBB\202c\310\f
BC#B#\207" [python-indent-offset python-imenu-format-item-label-function 0 python-nav-backward-defun python-imenu--get-defun-type-name current-indentation nil python-imenu--put-parent python-imenu--build-tree] 18 (#$ . 191223)])#@249 Return tree Imenu alist for the current Python buffer.
Change `python-imenu-format-item-label-function',
`python-imenu-format-parent-item-label-function',
`python-imenu-format-parent-item-jump-label-function' to
customize how labels are formatted.
(defalias 'python-imenu-create-index #[0 "db\210\300\211\301 \211\262\203\211B\262\202\207" [nil python-imenu--build-tree] 4 (#$ . 191907)])#@767 Return flat outline of the current Python buffer for Imenu.
Optional argument ALIST is the tree to be flattened; when nil
`python-imenu-create-index' is used with
`python-imenu-format-parent-item-jump-label-function'
`python-imenu-format-parent-item-label-function'
`python-imenu-format-item-label-function' set to
  (lambda (type name) name)
Optional argument PREFIX is used in recursive calls and should
not be passed explicitly.

Converts this:

    (("Foo" . 103)
     ("Bar" . 138)
     ("decorator"
      ("decorator" . 173)
      ("wrap"
       ("wrap" . 353)
       ("wrapped_f" . 393))))

To this:

    (("Foo" . 103)
     ("Bar" . 138)
     ("decorator" . 173)
     ("decorator.wrap" . 353)
     ("decorator.wrapped_f" . 393))

(fn &optional ALIST PREFIX)#@13 

(fn ITEM)#@18 

(fn TYPE NAME)
(defalias 'python-imenu-create-flat-index #[512 "\303\304\305\306\307\"\206\310\211\211\211\311 +\262\"\"\207" [python-imenu-format-item-label-function python-imenu-format-parent-item-label-function python-imenu-format-parent-item-jump-label-function apply nconc mapcar make-closure #[257 "\300\203\f\300\301@Q\202\211@A\211\247\204\302!\203 BC\207\211<\2051@AB\303AA\"B\207" [V0 "." markerp python-imenu-create-flat-index] 7 (#$ . 193081)] #[514 "\207" [] 3 (#$ . 193098)] python-imenu-create-index] 8 (#$ . 192310)])#@106 Return the defun name of NODE.
Return nil if there is no name or if NODE is not a defun node.

(fn NODE)
(defalias 'python--treesit-defun-name #[257 "\300!\211\301\235\205\302\303\304\"\305\"\207" [treesit-node-type ("class_definition" "function_definition") treesit-node-text treesit-node-child-by-field-name "name" t] 6 (#$ . 193664)])#@455 Given a sparse tree, create an imenu alist.

NODE is the root node of the tree returned by
`treesit-induce-sparse-tree' (not a tree-sitter node, its car is
a tree-sitter node).  Walk that tree and return an imenu alist.

Return a list of ENTRY where

ENTRY := (NAME . MARKER)
       | (NAME . ((JUMP-LABEL . MARKER)
                  ENTRY
                  ...)

NAME is the function/class's name, JUMP-LABEL is like "*function
definition*".

(fn NODE)
(defalias 'python--imenu-treesit-create-index-1 #[257 "\211@A\303\304\"\305!\211\306\267\210\202\210\307\202\210\310\202\311\205(\312!\206(\313\2054\314 \315!\311\223\204:\207\203P\"	\"BBBC\207\n\"\211BC\207" [python-imenu-format-parent-item-label-function python-imenu-format-parent-item-jump-label-function python-imenu-format-item-label-function mapcan python--imenu-treesit-create-index-1 treesit-node-type #s(hash-table test equal purecopy t data ("function_definition" 18 "class_definition" 23)) def class nil treesit-defun-name "Anonymous" make-marker treesit-node-start] 12 (#$ . 194012)])#@453 Return tree Imenu alist for the current Python buffer.

Change `python-imenu-format-item-label-function',
`python-imenu-format-parent-item-label-function',
`python-imenu-format-parent-item-jump-label-function' to
customize how labels are formatted.

NODE is the root node of the subtree you want to build an index
of.  If nil, use the root node of the whole parse tree.

Similar to `python-imenu-create-index' but use tree-sitter.

(fn &optional NODE)
(defalias 'python-imenu-treesit-create-index #[256 "\211\206\300\301!\302\303\304\305$\306!\207" [treesit-buffer-root-node python treesit-induce-sparse-tree "^\\(?:class\\|function\\)_definition$" nil 1000 python--imenu-treesit-create-index-1] 7 (#$ . 195105)])#@321 Return flat outline of the current Python buffer for Imenu.

Change `python-imenu-format-item-label-function',
`python-imenu-format-parent-item-label-function',
`python-imenu-format-parent-item-jump-label-function' to
customize how labels are formatted.

Similar to `python-imenu-create-flat-index' but use
tree-sitter.
(defalias 'python-imenu-treesit-create-flat-index #[0 "\300\301 !\207" [python-imenu-create-flat-index python-imenu-treesit-create-index] 2 (#$ . 195829)])#@306 Return name of surrounding function with Python compatible dotty syntax.
Optional argument INCLUDE-TYPE indicates to include the type of the defun.
This function can be used as the value of `add-log-current-defun-function'
since it returns nil if point is not inside a defun.

(fn &optional INCLUDE-TYPE)
(defalias 'python-info-current-defun #[256 "\214~\210\212\302\210\303\304 `\305\303\211\3062\271\307\302!\205\270\310 \311\312\"\216\203*\304 W\205p\203G\212\303\262b\210\313 \210\314\302!\210\315\305\")\262\206p\212\304 	\\W\203Y\210\202n\316 \210`\304 Y\203j\304 T\202k\317\\\262)W)\262\203\251\310 \311\320\"\216\304 )\262\210\203\214\211\203\227\321\302!B\262\202\251\322\321\317!!\211@\262\211A@B\262\210\304 \317U\203\323\306\305\"\210\2020\210\205\315\211\205\306\324\325\"\326\327\330#P*\207" [python-nav-beginning-of-defun-regexp python-indent-offset 1 nil current-indentation t exit python-nav-beginning-of-defun match-data make-closure #[0 "\301\300\302\"\207" [V0 set-match-data t] 3] python-nav-beginning-of-statement beginning-of-line looking-at python-nav-end-of-defun 0 #[0 "\301\300\302\"\207" [V0 set-match-data t] 3] match-string-no-properties split-string throw format "%s " mapconcat identity "."] 13 (#$ . 196311)])#@142 Identical to `python-info-current-defun' but use tree-sitter.
For INCLUDE-TYPE see `python-info-current-defun'.

(fn &optional INCLUDE-TYPE)
(defalias 'python-info-treesit-current-defun #[256 "\300`!\301\302\203<\303!\211\304\267\210\202%\302\211\262\262\202&\305\211\262\262\202&\301\2034\306\307\310\"\311\"B\262\312!\262\202\203G\313\314\"\202H\315\316\317\320#\266\202P\207" [treesit-node-at nil def treesit-node-type #s(hash-table test equal purecopy t data ("function_definition" 19 "class_definition" 28)) class treesit-node-text treesit-node-child-by-field-name "name" t treesit-node-parent format "%s " "" "." mapconcat identity] 11 (#$ . 197613)])#@153 Return current symbol using dotty syntax.
With optional argument REPLACE-SELF convert "self" to current
parent defun name.

(fn &optional REPLACE-SELF)
(defalias 'python-info-current-symbol #[256 "\301\302\206\303 8\262?\205*\304 p\305\306#\216\307!\210\310 \211\205'\311\312!!)\266\203\211\205N\2043\207\313 \211\204;\210\207\314\315\316\317\320\321\322\"!\323#\323P#\262\207" [python-dotty-syntax-table nil 8 syntax-ppss syntax-table make-closure #[0 "r\300q\210\302\301!)\207" [V0 V1 set-syntax-table] 2] set-syntax-table symbol-at-point substring-no-properties symbol-name python-info-current-defun replace-regexp-in-string "^\\<self\\>\\." mapconcat identity butlast split-string "\\." "."] 11 (#$ . 198302)])#@52 Return non-nil if current statement opens a block.
(defalias 'python-info-statement-starts-block-p #[0 "\212\300 \210\301\302!)\207" [python-nav-beginning-of-statement looking-at "\\_<\\(?:def\\|class\\|if\\|elif\\|else\\|try\\|except\\|finally\\|for\\|while\\|with\\|match\\|case\\|async[[:space:]]+\\(?:def\\|for\\|with\\)\\)\\_>"] 2 (#$ . 199040)])#@45 Return non-nil if point is at end of block.
(defalias 'python-info-statement-ends-block-p #[0 "\212\300 )\212\301 )\205\211\205U\207" [python-nav-end-of-block python-nav-end-of-statement] 4 (#$ . 199397)])#@55 Return non-nil if point is at beginning of statement.
(defalias 'python-info-beginning-of-statement-p #[0 "`\212\300 \210`)U\207" [python-nav-beginning-of-statement] 2 (#$ . 199615)])#@49 Return non-nil if point is at end of statement.
(defalias 'python-info-end-of-statement-p #[0 "`\212\300 \210`)U\207" [python-nav-end-of-statement] 2 (#$ . 199804)])#@51 Return non-nil if point is at beginning of block.
(defalias 'python-info-beginning-of-block-p #[0 "\300 \205\301 \207" [python-info-beginning-of-statement-p python-info-statement-starts-block-p] 1 (#$ . 199975)])
(defalias 'python-info-end-of-block-p #[0 "\300 \205\301 \207" [python-info-end-of-statement-p python-info-statement-ends-block-p] 1 (#$ . 199397)])#@225 Return the point of the closest block the current line closes.
Returns nil if point is not on a dedenter statement or no opening
block can be detected.  The latter case meaning current file is
likely an invalid python file.
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias python-info-closing-block python-info-dedenter-opening-block-position nil make-obsolete "24.4"] 4)
(defalias 'python-info-dedenter-opening-block-position #[0 "\300 \301 \302\211\204'\203'\212@b\210\301 X\203\210@\202#A\262)\202\207" [python-info-dedenter-opening-block-positions current-indentation nil] 5 (#$ . 200347)])#@231 Return points of blocks the current line may close sorted by closer.
Returns nil if point is not on a dedenter statement or no opening
block can be detected.  The latter case meaning current file is
likely an invalid python file.
(defalias 'python-info-dedenter-opening-block-positions #[0 "\212\300 \211\205\221\211b\210\301 \302\303!\304\305\"A\306\211\3072\215\310\311\312\"\205\214\313 \211>\204}\2036\211\314\315\"W\203}\212\316 \210\306y\210\317\320 \321\322\"\216`W\203f\313 V\206Z\323 \206Z\324 \211\262\203f\306y\210\202E*\210\203}\211B\262\302\303!\235\203}`B\262\211\303U\203\210\325\307\306\"\210\210\2020\210\266\204\237)\207" [python-info-dedenter-statement-p line-beginning-position match-string-no-properties 0 assoc-string (("elif" "elif" "if") ("else" "if" "elif" "except" "for" "while") ("except" "except" "try") ("finally" "else" "except" "try") ("case" "case")) nil exit python-nav--syntactically #[0 "\300\211\301\302\300\303#\203)\304 \305\306\"\216\307\310\311 \")\262\203%\210\303\300\211\262\202&\303\204\207" [nil re-search-backward "\\_<\\(?:def\\|class\\|if\\|elif\\|else\\|try\\|except\\|finally\\|for\\|while\\|with\\|match\\|case\\|async[[:space:]]+\\(?:def\\|for\\|with\\)\\)\\_>" t match-data make-closure #[0 "\301\300\302\"\207" [V0 set-match-data t] 3] looking-back "^[[:space:]]*" line-beginning-position] 6] < current-indentation apply min python-nav-end-of-statement t match-data make-closure #[0 "\301\300\302\"\207" [V0 set-match-data t] 3] python-info-current-line-empty-p python-info-current-line-comment-p throw] 12 (#$ . 200978)])#@67 Message the first line of the block the current statement closes.
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias python-info-closing-block-message python-info-dedenter-opening-block-message nil make-obsolete "24.4"] 4)
(defalias 'python-info-dedenter-opening-block-message #[0 "\300 \211\205\301\302\212b\210`\303 {)\"\207" [python-info-dedenter-opening-block-position message "Closes %s" line-end-position] 5 (#$ . 202598)])#@119 Return point if current statement is a dedenter.
Sets `match-data' to the keyword that starts the dedenter
statement.
(defalias 'python-info-dedenter-statement-p #[0 "\212\300 \210\301 ?\205+\302\303!\205+\304\305!\306\230\205&\212\307 \210\310\311!\210`Sf\312=)?\205+`)\207" [python-nav-beginning-of-statement python-syntax-context-type looking-at "\\_<\\(?:case\\|e\\(?:l\\(?:if\\|se\\)\\|xcept\\)\\|finally\\)\\_>" match-string-no-properties 0 "case" back-to-indentation python-util-forward-comment -1 58] 2 (#$ . 203052)])#@142 Return non-nil if current line ends with backslash.
With optional argument LINE-NUMBER, check that line instead.

(fn &optional LINE-NUMBER)
(defalias 'python-info-line-ends-backslash-p #[256 "\212\211\203	\300!\210m\204&\301 b\210\302 A@\203&`Sf\303=\204&\304y\210\202	`Sf\303=\2050\305 )\207" [python-util-goto-line line-end-position syntax-ppss 92 1 point-marker] 3 (#$ . 203589)])#@152 Return the point where the backslashed line starts.
Optional argument LINE-NUMBER forces the line number to check against.

(fn &optional LINE-NUMBER)
(defalias 'python-info-beginning-of-backslash #[256 "\212\211\203	\300!\210\301 \205&\212\302 b\210\303 A@)\203!\304y\210\202\305 \210\306 )\207" [python-util-goto-line python-info-line-ends-backslash-p line-beginning-position syntax-ppss -1 back-to-indentation point-marker] 3 (#$ . 203987)])#@144 Check if current line is continuation of another.
When current line is continuation of another return the point
where the continued line ends.
(defalias 'python-info-continuation-line-p #[0 "\212\300 \210\301 \302 \205\303!\304\267\202)\305\306!\210\307 \202?\211b\210\305 \210\310 \202?\300 \210\305\306!\210S\302 \232\205?\311 \205?\307 )\207" [back-to-indentation python-syntax-context-type line-number-at-pos python-syntax-context #s(hash-table test eq purecopy t data (paren 21 string 30 comment 30)) python-util-forward-comment -1 point-marker python-info-continuation-line-p python-info-line-ends-backslash-p] 5 (#$ . 204444)])#@62 Return non-nil if current line is a continuation of a block.
(defalias 'python-info-block-continuation-line-p #[0 "\212\300 \205\301y\210\302 \210\303\304!\205\305 )\207" [python-info-continuation-line-p -1 back-to-indentation looking-at "\\_<\\(?:def\\|class\\|if\\|elif\\|else\\|try\\|except\\|finally\\|for\\|while\\|with\\|match\\|case\\|async[[:space:]]+\\(?:def\\|for\\|with\\)\\)\\_>" point-marker] 2 (#$ . 205095)])#@200 Check if current line is an assignment.
With argument CURRENT-LINE-ONLY is non-nil, don't follow any
continuations, just check the if current line is an assignment.

(fn &optional CURRENT-LINE-ONLY)
(defalias 'python-info-assignment-statement-p #[256 "\212\300\203\f\301 \210\202\302 \210\303\304\305 \306#\203-\211\204-\212\307\310!G[u\210\311 )\262?\202\211\2057\312\313!\210\314 )\207" [nil back-to-indentation python-nav-beginning-of-statement re-search-forward "[^\n%&*+/<->^|~-]\\(?:\\(?:\\*\\*\\|//\\|<<\\|>>\\|[%&*+/|^-]\\)?=\\)\\([^\n%&*+/<->^|~-]\\)" line-end-position t match-string-no-properties 1 python-syntax-context-type skip-syntax-forward " " point-marker] 6 (#$ . 205529)])#@201 Check if current line is the first continuation of an assignment.
When current line is continuation of another with an assignment
return the point of the first non-blank character after the
operator.
(defalias 'python-info-assignment-continuation-line-p #[0 "\212\300 \205\f\301y\210\302\303!)\207" [python-info-continuation-line-p -1 python-info-assignment-statement-p t] 2 (#$ . 206238)])#@210 Check if point is at `beginning-of-defun' using SYNTAX-PPSS.
When CHECK-STATEMENT is non-nil, the current statement is checked
instead of the current physical line.

(fn &optional SYNTAX-PPSS CHECK-STATEMENT)
(defalias 'python-info-looking-at-beginning-of-defun #[512 "\212\211\203\301 \210\302\303!\210\304\206\305 !?\205\306!)\207" [python-nav-beginning-of-defun-regexp python-nav-beginning-of-statement beginning-of-line 1 python-syntax-context-type syntax-ppss looking-at] 4 (#$ . 206636)])#@46 Check if point is at the beginning of block.
(defalias 'python-info-looking-at-beginning-of-block #[0 "`\212\301 \210\302 \210``\303 \\X\205X\266\202\205\304!)\207" [python-nav-beginning-of-block-regexp python-nav-beginning-of-statement beginning-of-line current-indentation looking-at] 5 (#$ . 207144)])#@51 Return non-nil if current line is a comment line.
(defalias 'python-info-current-line-comment-p #[0 "\300\301 \302 \\f\206\303\304\"\207" [char-equal line-beginning-position current-indentation 95 35] 3 (#$ . 207463)])#@63 Return non-nil if current line is empty, ignoring whitespace.
(defalias 'python-info-current-line-empty-p #[0 "\212\300\301!\210\302\303!\210\304\301!\305\230)\207" [beginning-of-line 1 looking-at "^[[:space:]]*\\(.*\\)[[:space:]]*$" match-string-no-properties ""] 2 (#$ . 207689)])#@168 Return non-nil if point is in a docstring.
When optional argument SYNTAX-PPSS is given, use that instead of
point's current `syntax-ppss'.

(fn &optional SYNTAX-PPSS)
(defalias 'python-info-docstring-p #[256 "\212\211\203\211\206\300 \3018\205\3028\262\203\3028b\210\303 \210\304\305 \306\307 ?\205\232\310\311\312\"\262\205\232\306\313X\203j\212\314 \210`\262\305 U\205\\\315\"?\262\205\\\310\311\312\"\262)\203jb\210T\262\2026\210\313X\205\232\316\317!\210\303 \210o\203\213\212\316 \210\310\311\312\")\262\206\232\307 \203\224\312\202\232\320 \206\232\306)\207" [syntax-ppss 3 8 python-nav-beginning-of-statement 1 current-indentation nil python-info-assignment-statement-p "[uU]?[rR]?[\"']" looking-at t 2 python-nav-backward-sexp eql python-util-forward-comment -1 python-info-looking-at-beginning-of-defun] 9 (#$ . 207978)])#@144 Check if point is in a triple quoted string including quotes.
It returns the position of the third quote character of the start
of the string.
(defalias 'python-info-triple-quoted-string-p #[0 "\212`\300\301\211\211:\203Q@\262\\\211eY\2053\211dX\2053\302!\206&\302 \3038\304=\2051\3058\262\262\211\203E\211\262\301\211\262\262\202G\210\304\203QA\262\202)\207" [(0 3 -2 2 -1 1) nil syntax-ppss 3 t 8] 9 (#$ . 208857)])#@92 Detect current buffer's encoding from its coding cookie.
Returns the encoding as a symbol.
(defalias 'python-info-encoding-from-cookie #[0 "\212\214~\210eb\210\300y\210\301`e\"*\302\303\"\205\304\305\306\"!\207" [2 buffer-substring-no-properties string-match "^#[[:space:]]*\\(?:coding[:=][[:space:]]*\\(?1:[[:word:]-]+\\)\\|-\\*-[[:space:]]*coding:[[:space:]]*\\(?1:[[:word:]-]+\\)[[:space:]]*-\\*-\\|vim:[[:space:]]*set[[:space:]]+fileencoding[[:space:]]*=[[:space:]]*\\(?1:[[:word:]-]+\\)[[:space:]]*:\\)" intern match-string-no-properties 1] 5 (#$ . 209305)])#@107 Return encoding for file.
Try `python-info-encoding-from-cookie', if none is found then
default to utf-8.
(defalias 'python-info-encoding #[0 "\300 \206\301\207" [python-info-encoding-from-cookie utf-8] 1 (#$ . 209879)])#@46 Move point to LINE-NUMBER.

(fn LINE-NUMBER)
(defalias 'python-util-goto-line #[257 "eb\210\211Sy\207" [] 2 (#$ . 210107)])#@156 Clone local variables from FROM-BUFFER.
Optional argument REGEXP selects variables to clone and defaults
to "^python-".

(fn FROM-BUFFER &optional REGEXP)#@13 

(fn PAIR)
(defalias 'python-util-clone-local-variables #[513 "\300\301\302\"\303!\"\207" [mapc make-closure #[257 "\211:\205 \211@9\205 \301\300\206\302\303@!\"\205 \304@!AL\207" [V0 string-match "^python-" symbol-name make-local-variable] 5 (#$ . 210397)] buffer-local-variables] 6 (#$ . 210237)])#@95 Return comint last prompt overlay start and end.
This is for compatibility with Emacs < 24.4.
(defalias 'python-util-comint-last-prompt #[0 "\302\300!\203\203\303!\304!B\207\302\301!\203	\203	\207\305\207" [comint-last-prompt-overlay comint-last-prompt boundp overlay-start overlay-end nil] 3 (#$ . 210713)])#@57 Return non-nil if the last prompt matches input prompt.
(defalias 'python-util-comint-end-of-output-p #[0 "\300 \211\205\301\302@A\"!\207" [python-util-comint-last-prompt python-shell-comint-end-of-output-p buffer-substring-no-properties] 5 (#$ . 211038)])#@140 Python mode specific version of `forward-comment'.
Optional argument DIRECTION defines the direction to move to.

(fn &optional DIRECTION)
(defalias 'python-util-forward-comment #[256 "\301 \3028\205\3038\262\206\304\304W\203\305\202\306\211\203%b\210\307!)\207" [comment-start syntax-ppss 4 8 0 -99999 99999 forward-comment] 6 (#$ . 211305)])#@363 List DIRECTORY subdirs, filtered by PREDICATE and limited by MAX-DEPTH.
Argument PREDICATE defaults to `identity' and must be a function
that takes one argument (a full path) and returns non-nil for
allowed files.  When optional argument MAX-DEPTH is non-nil, stop
searching when depth is reached, else don't limit.

(fn DIRECTORY &optional PREDICATE MAX-DEPTH)
(defalias 'python-util-list-directories #[769 "\300!\211G\206\n\301C\302\203E@!\203\211B\262\303A\304\305\"\302#\262\203A\306\302O\307\310#GX\203A\302\262\210\202
\237\207" [expand-file-name identity nil append python-util-list-files file-directory-p split-string "/\\|\\\\" t] 14 (#$ . 211672)])#@218 List files in DIR, filtering with PREDICATE.
Argument PREDICATE defaults to `identity' and must be a function
that takes one argument (a full path) and returns non-nil for
allowed files.

(fn DIR &optional PREDICATE)#@18 

(fn FILE-NAME)
(defalias 'python-util-list-files #[513 "\300!\301\302\303\304\305#\306!\"\"\207" [file-name-as-directory apply nconc mapcar make-closure #[257 "\302\300\"\303\235?\205\301\206\304!\205\211C\207" [V0 V1 expand-file-name ("." "..") identity] 4 (#$ . 212586)] directory-files] 10 (#$ . 212364)])#@176 List packages in DIR, limited by MAX-DEPTH.
When optional argument MAX-DEPTH is non-nil, stop searching when
depth is reached, else don't limit.

(fn DIR &optional MAX-DEPTH)#@12 

(fn DIR)
(defalias 'python-util-list-packages #[513 "\300!\301\302\301\303!!!!\211G\304\305\306\"\307\302!\310#\"\207" [expand-file-name file-name-directory directory-file-name file-name-as-directory mapcar make-closure #[257 "\301\302\303\300\304O#\207" [V0 replace-regexp-in-string "[/\\]" "." nil] 7 (#$ . 212586)] python-util-list-directories #[257 "\300\301\302\"!\207" [file-exists-p expand-file-name "__init__.py"] 5 (#$ . 213097)]] 11 (#$ . 212917)])#@171 Return LST first N elements.
N should be an integer, when negative its opposite is used.
When N is bigger than the length of LST, the list is
returned as is.

(fn LST N)
(defalias 'python-util-popn #[514 "\300!\301_G\302V\203\207\303V\203'@B\262A\262S\262\202\304!\207" [abs 1 nil 0 reverse] 7 (#$ . 213573)])#@75 Strip STRING whitespace and newlines from end and beginning.

(fn STRING)
(defalias 'python-util-strip-string #[257 "\300\301\302#\207" [replace-regexp-in-string "\\`[\n
[:space:]]*\\|[\n
[:space:]]*\\'" ""] 5 (#$ . 213907)])#@49 Return non-nil if REGEXP is valid.

(fn REGEXP)
(defalias 'python-util-valid-regexp-p #[257 "\3001\f\301\302\"\210\3030\207\304\207" [(error) string-match "" t nil] 5 (#$ . 214139)])#@374 The external tool that will be used to perform the syntax check.
This is a non-empty list of strings: the checker tool possibly followed by
required arguments.  Once launched it will receive the Python source to be
checked as its standard input.
To use `flake8' you would set this to ("flake8" "-").
To use `pylint' you would set this to ("pylint" "--from-stdin" "stdin").#@495 Specify how to parse the output of `python-flymake-command'.
The value has the form (REGEXP LINE COLUMN TYPE MESSAGE): if
REGEXP matches, the LINE'th subexpression gives the line number,
the COLUMN'th subexpression gives the column number on that line,
the TYPE'th subexpression gives the type of the message and the
MESSAGE'th gives the message text itself.

If COLUMN or TYPE are nil or that index didn't match, that
information is not present on the matched line and a default will
be used.#@405 Alist used to associate messages to their types.
Each element should be a cons-cell (REGEXP . TYPE), where TYPE
should be a diagnostic type symbol like `:error', `:warning' or
`:note'.  For example, when using `flake8' a possible
configuration could be:

  (("\(^redefinition\|.*unused.*\|used$\)" . :warning)
   ("^E999" . :error)
   ("^[EW][0-9]+" . :note))

By default messages are considered errors.
(byte-code "\300\301\302\303\304\305\306\307\310\311&	\210\312\313\314\315\316DD\317\310\311\320\321&\210\312\322\314\315\323DD\324\320\325\310\326&\210\312\327\314\315\330DD\331\310\311\320\332&\207" [custom-declare-group python-flymake nil "Integration between Python and Flymake." :group python :link (custom-group-link :tag "Flymake" flymake) :version "26.1" custom-declare-variable python-flymake-command funcall function #[0 "\300\207" [("pyflakes")] 1 (#$ . 308)] (#$ . 214330) :type (choice (const :tag "Pyflakes" ("pyflakes")) (const :tag "Flake8" ("flake8" "-")) (const :tag "Pylint" ("pylint" "--from-stdin" "stdin")) (repeat :tag "Custom command" string)) python-flymake-command-output-pattern #[0 "\300\301\302\303\304\257\207" ["^\\(?:<?stdin>?\\):\\(?1:[0-9]+\\):\\(?:\\(?2:[0-9]+\\):?\\)? \\(?3:.*\\)$" 1 2 nil 3] 5 (#$ . 308)] (#$ . 214709) (list regexp (integer :tag "Line's index") (choice (const :tag "No column" nil) (integer :tag "Column's index")) (choice (const :tag "No type" nil) (integer :tag "Type's index")) (integer :tag "Message's index")) "29.1" python-flymake-msg-alist #[0 "\300\207" [(("\\(^redefinition\\|.*unused.*\\|used$\\)" . :warning))] 1 (#$ . 308)] (#$ . 215209) (alist :key-type (regexp) :value-type (symbol))] 10)
(defvar python--flymake-proc nil)#@93 Collect diagnostics parsing checker tool's output line by line.

(fn SOURCE PROC REPORT-FN)
(make-variable-buffer-local 'python--flymake-proc)
(defalias 'python--flymake-parse-output #[771 "@A@\3028\3038\3048r\305!q\210eb\210\306\211\211\211\211\211\307\306\310#\203\213\311!\262\312\313\311
!!\205H\311\f!\205H\313\311
!!#\262\211A\262\242\262\203j\311!\203j\314\311	!	\315#\206t\314	\315#\206t\316\262\317%C\244\266\202\306\202!)\306\207" [python-flymake-command-output-pattern python-flymake-msg-alist 2 3 4 process-buffer nil search-forward-regexp t match-string flymake-diag-region string-to-number assoc-default string-match :error flymake-make-diagnostic] 22 (#$ . 216915)])#@228 Flymake backend for Python.
This backend uses `python-flymake-command' (which see) to launch a process
that is passed the current buffer's content via stdin.
REPORT-FN is Flymake's callback function.

(fn REPORT-FN &rest ARGS)#@19 

(fn PROC EVENT)
(defalias 'python-flymake #[385 "\302@!\204\303\304!\210\305	!\203\306	!\210p\214~\210\307\310\311\312\313\314\315\316\317\320!\321\322\323\324#&\f\325	ed#\210\326	!)\207" [python-flymake-command python--flymake-proc executable-find error "Cannot find a suitable checker" process-live-p kill-process make-process :name "python-flymake" :noquery t :connection-type pipe :buffer generate-new-buffer " *python-flymake*" :command :sentinel make-closure #[514 "\303!\304=\205\305\306\"\216r\300q\210\n=)\205\307\300\301#)\207" [V0 V1 python--flymake-proc process-status exit make-closure #[0 "\301\302\300!!\207" [V0 kill-buffer process-buffer] 3] python--flymake-parse-output] 6 (#$ . 217889)] process-send-region process-send-eof] 19 (#$ . 217657)])#@50 Script to list import statements in Python code.
(defconst python--list-imports "from sys import argv, exit, stdin\n\ntry:\n    from isort import find_imports_in_stream, find_imports_in_paths\nexcept ModuleNotFoundError:\n    exit(2)\nexcept ImportError:\n    exit(3)\n\nquery, files, result = argv[1] or None, argv[2:], {}\n\nif files:\n    imports = find_imports_in_paths(files, top_only=True)\nelse:\n    imports = find_imports_in_stream(stdin, top_only=True)\n\nfor imp in imports:\n    if query is None or query == (imp.alias or imp.attribute or imp.module):\n        key = (imp.module, imp.attribute or '', imp.alias or '')\n        if key not in result:\n            result[key] = imp.statement()\n\nfor key in sorted(result):\n    print(result[key])\n" (#$ . 218678))#@48 History variable for `python-import' commands.
(defvar python-import-history nil (#$ . 219459))#@80 List files containing Python imports that may be useful in the current buffer.
(defalias 'python--import-sources #[0 "\301\302!\211\205	\303 \211\203\304\305\306!\"\207C\207" [default-directory featurep project project-current seq-filter #[257 "\300\301\302\303$\207" ["\\.py[iwx]?\\'" nil string-match t] 9 (#$ . 146959)] project-files] 6 (#$ . 219560)])#@15 

(fn STATUS)
(defalias 'python--list-imports-check-status #[257 "\211\301=?\205 \211\302\267\202\303\202\304\202\305\306P\307#\266\202\207" [python-interpreter 0 #s(hash-table test eq purecopy t data (2 13 3 17)) " (maybe isort is missing?)" " (maybe isort version is older than 5.7.0?)" "" "%s exited with status %s" error] 7 (#$ . 219930)])#@203 List all Python imports matching NAME in SOURCE.
If NAME is nil, list all imports.  SOURCE can be a buffer or a
list of file names or directories; the latter are searched
recursively.

(fn NAME SOURCE)
(defalias 'python--list-imports #[514 "p\303\304\305\"r\211q\210\306\307\"\216p\310!\2038rq\210\311\312ed\313\313D\313\314\315	!\316\n\2060\317E\"&)\202Zrq\210\311\320\313\313D\313\314\315	!\316\n\206P\317E\321\322\"#&)\313\323!\210eb\210m\204u\324`\325 \"B\262\326y\210\202b\211\237*\207" [python-interpreter python-interpreter-args python--list-imports generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205	\302\300!\207" [V0 buffer-name kill-buffer] 2] bufferp apply call-process-region nil append split-string-shell-command "-c" "" call-process mapcar file-local-name python--list-imports-check-status buffer-substring-no-properties pos-eol 1] 18 (#$ . 220291)])#@260 Read a Python import statement defining NAME.
A list of candidates is produced by `python--list-imports' using
the NAME and SOURCE arguments.  An interactive query, using the
PROMPT string, is made unless there is a single candidate.

(fn NAME SOURCE PROMPT)
(defalias 'python--query-import #[771 "\302\"\303\203\304\305\"\203\211@\202'\205'\306\206!	\307\211\211\301&\211\211\310\230\262?\2052\211)\207" [minibuffer-default-add-function python-import-history python--list-imports #[0 "\301 \211\205\302!r\303\304\"\216\305@\306\"\210\307\310!*\262\262\211\207" [minibuffer-default minibuffer-selected-window internal--before-with-selected-window make-closure #[0 "\301\300!\207" [V0 internal--after-with-selected-window] 2] select-window norecord thing-at-point symbol] 5] length= 1 completing-read nil ""] 11 (#$ . 221203)])#@124 Edit the current buffer using isort called with ARGS.
Return non-nil if the buffer was actually modified.

(fn &rest ARGS)
(defalias 'python--do-isort #[128 "p\302\303\304\"r\211q\210\305\306\"\216prq\210\307\310ed\311\311D\311\312\313	!\314#&\315 \316=\2046\317\320#\210\321!\210\211\315 =+?\207" [python-interpreter python-interpreter-args generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205	\302\300!\207" [V0 buffer-name kill-buffer] 2] apply call-process-region nil append split-string-shell-command ("-m" "isort" "-") buffer-chars-modified-tick 0 error "%s exited with status %s (maybe isort is missing?)" replace-buffer-contents] 16 (#$ . 222062)])#@414 Add an import statement to the current buffer.

Interactively, ask for an import statement using all imports
found in the current project as suggestions.  With a prefix
argument, restrict the suggestions to imports defining the symbol
at point.  If there is only one such suggestion, act without
asking.

When calling from Lisp, use a non-nil NAME to restrict the
suggestions to imports defining NAME.

(fn NAME)
(defalias 'python-add-import #[257 "\300\301 \302#\211\205\303\304\"\203\305\306\"\207\305\307!\207" [python--query-import python--import-sources "Add import: " python--do-isort "--add" message "Added `%s'" "(No changes in Python imports needed)"] 5 (#$ . 222750) (byte-code "\205\301\302!C\207" [current-prefix-arg thing-at-point symbol] 2)])#@171 Add an import statement for the symbol at point to the current buffer.
This works like `python-add-import', but with the opposite
behavior regarding the prefix argument.
(defalias 'python-import-symbol-at-point #[0 "\301?\205	\302\303!!\207" [current-prefix-arg python-add-import thing-at-point symbol] 3 (#$ . 223523) nil])#@330 Remove an import statement from the current buffer.

Interactively, ask for an import statement to remove, displaying
the imports of the current buffer as suggestions.  With a prefix
argument, restrict the suggestions to imports defining the symbol
at point.  If there is only one such suggestion, act without
asking.

(fn NAME)
(defalias 'python-remove-import #[257 "\300p\301#\211\205\302\303\"\203\304\305\"\207\304\306!\207" [python--query-import "Remove import: " python--do-isort "--rm" message "Removed `%s'" "(No changes in Python imports needed)"] 5 (#$ . 223856) (byte-code "\205\301\302!C\207" [current-prefix-arg thing-at-point symbol] 2)])#@44 Sort Python imports in the current buffer.
(defalias 'python-sort-imports #[0 "\300 \203	\301\302!\207\301\303!\207" [python--do-isort message "Sorted imports" "(No changes in Python imports needed)"] 2 (#$ . 224524) nil])#@69 Add missing imports and remove unused ones from the current buffer.#@18 

(fn STATEMENT)#@10 

(fn X)
(defalias 'python-fix-imports #[0 "p\302\211\211\211\303\304\305\"r\211q\210\306\307\"\216prq\210\310\311ed\302\302\312\313	!\314\"&)\210eb\210\315\316\305\"\262\203=\317\320\"\210m\204e\316\321!\203R\322\323!B\262\202_\316\324!\203_\322\323!B\262\323y\210\202=*\266\325!\211\203\211\211@\326\327 \330\331\"#\211\203\203\211B\262\266A\202k\210\325!\211\203\262\211@\306\332\"\333\334\302\"\"\335\323\"\203\254\211@B\262\266A\202\215\210\204\277\211\204\277\336\337!\207\310\340\312\341\342\"\341\343\"\"\"\210\336\344\205\326\345\205\343\346\347\350#\266\202\205\360\203\357\351\202\360\352\205\375\346\347\350#\266\202R\"\207" [python-interpreter python-interpreter-args nil generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205	\302\300!\207" [V0 buffer-name kill-buffer] 2] apply call-process-region append split-string-shell-command ("-m" "pyflakes") ".* No module named pyflakes$" looking-at error "%s couldn't find pyflakes" ".* undefined name '\\([^']+\\)'$" match-string 1 ".*'\\([^']+\\)' imported but unused$" seq-uniq python--query-import python--import-sources format "Add import for undefined name `%s' (empty to skip): " #[257 "\300\301\302\303\301\304\305##\230\207" [V0 replace-regexp-in-string " import " "." "^\\(from\\|import\\) " ""] 9 (#$ . 224826)] seq-filter python--list-imports length= message "(No changes in Python imports needed)" python--do-isort mapcan #[257 "\300D\207" ["--add"] 3 (#$ . 224848)] #[257 "\300D\207" ["--rm"] 3 (#$ . 224848)] "%s" "Added " ", " mapconcat identity " and removed " "Removed "] 18 (#$ . 224753) nil])
(defalias 'python-electric-pair-string-delimiter #[0 "\205/	\302>\205/\303`ZSf	=\203T\202\211\304U\262\205/\305f	=\205/\212\306\307	\"c)\207" [electric-pair-mode last-command-event (34 39) 0 3 nil make-string 2] 3])
(defvar python-base-mode-hook nil)
(byte-code "\300\301N\204\f\302\300\301\303#\210\304\305!\204\302\305\306\307#\210\300\207" [python-base-mode-hook variable-documentation put "Hook run after entering `python-base-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it.  (This is true for all hook variables.)" boundp python-base-mode-map definition-name python-base-mode] 4)
(defvar python-base-mode-map (make-sparse-keymap))#@417 Generic major mode for editing Python files.

This is a generic major mode intended to be inherited by
concrete implementations.  Currently there are two concrete
implementations: `python-mode' and `python-ts-mode'.

In addition to any hooks its parent mode `prog-mode' might have run,
this mode runs the hook `python-base-mode-hook', as the final or
penultimate step during initialization.

\{python-base-mode-map}#@43 `outline-level' function for Python mode.
(byte-code "\301\302N\204\303\301\302\304\305!#\210\306\307!\204*\303\307\310\311#\210\312\307\306\307!\203&\313\202(\314 \"\210\307\302N\2048\303\307\302\304\315!#\210\306\300!\204X\303\300\310\311#\210\312\300\306\300!\203P\313\202V\316\300\313\"\210\"\210\300\302N\204f\303\300\302\304\317!#\210\320\321!\203t\321\311\322\"\210\202z\303\311\323\322#\210\313\207" [python-base-mode-abbrev-table python-base-mode-map variable-documentation put purecopy "Keymap for `python-base-mode'." boundp python-base-mode-syntax-table definition-name python-base-mode defvar-1 nil make-syntax-table "Syntax table for `python-base-mode'." define-abbrev-table "Abbrev table for `python-base-mode'." fboundp derived-mode-set-parent prog-mode derived-mode-parent] 5)
(defalias 'python-base-mode #[0 "\306\300!\210\307\310 \210\311\312\310\313N\203\314\311\313\310\313N#\210\315!\204'\316\317 \"\210\320\f!\211\2035\211\321 =\203;\322\f\323 \"\210\210\324
\325\"\204R
@=\204R\326
\325@C#\210\327!\210\330\f!\210
@\306\331!\210\332\306\333!\210\334\306\335!\210\336\306\337!\210\340\306\341!\210\307!\306\342!\210\307\"\306\343!\210A#\306\344!\210\345$\306\346!\210\347&\306\350!\210\307(\306\351!\210\352)B)\353\354\355\356\307$\210\306\357!\210\360/\306\361!\210\3621\306\363!\210\3643\306\365!\210\3665\306\367!\210\3707\353\371\372\334\373$\210\353\354\374\356\373$\210\306\375!\210\376=\306\377!\210\201H?B\204	\306\201B!\210\201IB\2024\201J\201K!\203!\353\201K\201I\334\307$\210\2024\201L\201M\201N\201OB\201I\334$\210\201P\211\203R\211@\201Q\201RC\201SBB\"\266A\2027\210\306\201D!\210\201TD\306\201E!\210\201UE\306\201G!\210FG\306\201V!\210\353\201W\201X\334\307$)\210\201Y\201Z!\207" [delay-mode-hooks major-mode mode-name python-base-mode-map python-base-mode-syntax-table python-base-mode-abbrev-table make-local-variable t prog-mode python-base-mode "Python" mode-class put keymap-parent set-keymap-parent current-local-map char-table-parent standard-syntax-table set-char-table-parent syntax-table abbrev-table-get :parents abbrev-table-put use-local-map set-syntax-table tab-width 8 indent-tabs-mode nil comment-start "# " comment-start-skip "#+\\s-*" parse-sexp-lookup-properties parse-sexp-ignore-comments forward-sexp-function indent-line-function python-indent-line-function indent-region-function python-indent-region electric-indent-inhibit electric-indent-chars 58 add-hook post-self-insert-hook python-electric-pair-string-delimiter append paragraph-start "\\s-*$" fill-paragraph-function python-fill-paragraph normal-auto-fill-function python-do-auto-fill beginning-of-defun-function python-nav-beginning-of-defun end-of-defun-function python-nav-end-of-defun completion-at-point-functions python-completion-at-point local python-indent-post-self-insert-function add-log-current-defun-function python-info-current-defun skeleton-further-elements local-abbrev-table python-forward-sexp-function eldoc-documentation-function python-nav-beginning-of-block-regexp outline-regexp outline-level python-prettify-symbols-alist prettify-symbols-alist ((abbrev-mode nil) (< '(backward-delete-char-untabify (min python-indent-offset (current-column)))) (^ '(- (1+ (current-indentation))))) python-eldoc-function boundp eldoc-documentation-functions advice--add-function :before-until #[0 "\300\301!\207" [advice--buffer-local eldoc-documentation-function] 2] #[257 "\300\301\"\207" [advice--set-buffer-local eldoc-documentation-function] 4 (#$ . 156648)] (python-mode python-ts-mode) add-to-list hs-special-modes-alist ("" "#" python-hideshow-forward-sexp-function nil python-nav-beginning-of-block python-hideshow-find-next-block python-info-looking-at-beginning-of-block) "[[:space:]]*\\_<\\(?:def\\|class\\|if\\|elif\\|else\\|try\\|except\\|finally\\|for\\|while\\|with\\|match\\|case\\|async[[:space:]]+\\(?:def\\|for\\|with\\)\\)\\_>" #[0 "\301 \245T\207" [python-indent-offset current-indentation] 2 (#$ . 227623)] python-shell-internal-buffer flymake-diagnostic-functions python-flymake run-mode-hooks python-base-mode-hook] 7 (#$ . 227202) nil])
(defvar python-mode-hook nil)
(byte-code "\300\301N\204\f\302\300\301\303#\210\304\305!\204\302\305\306\307#\210\300\207" [python-mode-hook variable-documentation put "Hook run after entering `python-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it.  (This is true for all hook variables.)" boundp python-mode-map definition-name python-mode] 4)
(defvar python-mode-map (make-sparse-keymap))#@235 Major mode for editing Python files.

\{python-mode-map}

In addition to any hooks its parent mode `python-base-mode' might have
run, this mode runs the hook `python-mode-hook', as the final or
penultimate step during initialization.
(byte-code "\301\302N\204\303\301\302\304\305!#\210\306\307!\204*\303\307\310\311#\210\312\307\306\307!\203&\313\202(\314 \"\210\307\302N\2048\303\307\302\304\315!#\210\306\300!\204X\303\300\310\311#\210\312\300\306\300!\203P\313\202V\316\300\313\"\210\"\210\300\302N\204f\303\300\302\304\317!#\210\320\321!\203t\321\311\322\"\210\202z\303\311\323\322#\210\313\207" [python-mode-abbrev-table python-mode-map variable-documentation put purecopy "Keymap for `python-mode'." boundp python-mode-syntax-table definition-name python-mode defvar-1 nil make-syntax-table "Syntax table for `python-mode'." define-abbrev-table "Abbrev table for `python-mode'." fboundp derived-mode-set-parent python-base-mode derived-mode-parent] 5)
(defalias 'python-mode #[0 "\306\300!\210\307\310 \210\311\312\310\313N\203\314\311\313\310\313N#\210\315!\204'\316\317 \"\210\320\f!\211\2035\211\321 =\203;\322\f\323 \"\210\210\324
\325\"\204R
&=\204R\326
\325&C#\210\327!\210\330\f!\210
&\306\331!\210'\332B\306\333!\210(\306\334!\210\335\336\337\340\341\307$\210\342 \210#\203\210\343 \210)\344\345!\207" [delay-mode-hooks major-mode mode-name python-mode-map python-mode-syntax-table python-mode-abbrev-table make-local-variable t python-base-mode python-mode "Python" mode-class put keymap-parent set-keymap-parent current-local-map char-table-parent standard-syntax-table set-char-table-parent syntax-table abbrev-table-get :parents abbrev-table-put use-local-map set-syntax-table font-lock-defaults (nil nil nil nil (font-lock-syntactic-face-function . python-font-lock-syntactic-face-function)) syntax-propertize-function imenu-create-index-function python-imenu-create-index add-hook which-func-functions python-info-current-defun nil python-skeleton-add-menu-items python-indent-guess-indent-offset run-mode-hooks python-mode-hook local-abbrev-table python-font-lock-keywords python-syntax-propertize-function] 5 (#$ . 232254) nil])
(defvar python-ts-mode-hook nil)
(byte-code "\300\301N\204\f\302\300\301\303#\210\304\305!\204\302\305\306\307#\210\300\207" [python-ts-mode-hook variable-documentation put "Hook run after entering `python-ts-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it.  (This is true for all hook variables.)" boundp python-ts-mode-map definition-name python-ts-mode] 4)
(defvar python-ts-mode-map (make-sparse-keymap))#@268 Major mode for editing Python files, using tree-sitter library.

\{python-ts-mode-map}

In addition to any hooks its parent mode `python-base-mode' might have
run, this mode runs the hook `python-ts-mode-hook', as the final or
penultimate step during initialization.
(byte-code "\301\302N\204\303\301\302\304\305!#\210\306\300!\204.\303\300\307\310#\210\311\300\306\300!\203&\312\202,\313\300\312\"\210\"\210\300\302N\204<\303\300\302\304\314!#\210\315\316!\203J\316\310\317\"\210\202P\303\310\320\317#\210\312\207" [python-ts-mode-abbrev-table python-ts-mode-map variable-documentation put purecopy "Keymap for `python-ts-mode'." boundp definition-name python-ts-mode defvar-1 nil define-abbrev-table "Abbrev table for `python-ts-mode'." fboundp derived-mode-set-parent python-base-mode derived-mode-parent] 5)
(defalias 'python-ts-mode #[0 "\306\300!\210\307\310 \210\311\312\310\313N\203\314\311\313\310\313N#\210\315!\204'\316\317 \"\210\320\f\321\"\204;\f
=\204;\322\f\321
C#\210\323!\210\324-!\210\f\325\326!\203\223\327\326!\210\306\330!\210\331\306\332!\210.\306\333!\210\334\306\335!\210\336\306\337!\210\340\341 \210\306\342!\210\343\"\344 \210%\203\211\345 \210\346\347\350\"\210\346\351\352\"\210)\353\354!\207" [delay-mode-hooks major-mode mode-name python-ts-mode-map python-ts-mode-abbrev-table local-abbrev-table make-local-variable t python-base-mode python-ts-mode "Python" mode-class put keymap-parent set-keymap-parent current-local-map abbrev-table-get :parents abbrev-table-put use-local-map set-syntax-table treesit-ready-p python treesit-parser-create treesit-font-lock-feature-list ((comment definition) (keyword string type) (assignment builtin constant decorator escape-sequence number string-interpolation) (bracket delimiter function operator variable property)) treesit-font-lock-settings imenu-create-index-function python-imenu-treesit-create-index treesit-defun-type-regexp "\\(?:class\\|function\\)_definition" treesit-defun-name-function python--treesit-defun-name treesit-major-mode-setup syntax-propertize-function python--treesit-syntax-propertize python-skeleton-add-menu-items python-indent-guess-indent-offset add-to-list auto-mode-alist ("\\.py[iw]?\\'" . python-ts-mode) interpreter-mode-alist ("python[0-9.]*" . python-ts-mode) run-mode-hooks python-ts-mode-hook python-mode-syntax-table python--treesit-settings] 5 (#$ . 234907) nil])
(byte-code "\300\301\302\"\210\303\211\203\211@\304\305\306#\266A\202\210\307\211\203*\211@\304\305\310#\266A\202\210\311\312\313\"\210\314\315!\207" [derived-mode-add-parents python-ts-mode (python-mode) (python-add-import python-check python-fill-paragraph python-fix-imports python-indent-dedent-line python-indent-dedent-line-backspace python-indent-guess-indent-offset python-indent-shift-left python-indent-shift-right python-mark-defun python-nav-backward-block python-nav-backward-defun python-nav-backward-sexp python-nav-backward-sexp-safe python-nav-backward-statement python-nav-backward-up-list python-nav-beginning-of-block python-nav-beginning-of-statement python-nav-end-of-block python-nav-end-of-defun python-nav-end-of-statement python-nav-forward-block python-nav-forward-defun python-nav-forward-sexp python-nav-forward-sexp-safe python-nav-forward-statement python-nav-if-name-main python-nav-up-list python-remove-import python-shell-send-block python-shell-send-buffer python-shell-send-defun python-shell-send-statement python-sort-imports) function-put command-modes (python-base-mode) (python-describe-at-point python-eldoc-at-point python-shell-completion-native-toggle python-shell-completion-native-turn-off python-shell-completion-native-turn-on python-shell-completion-native-turn-on-maybe python-shell-font-lock-cleanup-buffer python-shell-font-lock-toggle python-shell-font-lock-turn-off python-shell-font-lock-turn-on python-shell-package-enable python-shell-completion-complete-or-indent) (python-base-mode inferior-python-mode) add-to-list auto-mode-alist ("/\\(?:Pipfile\\|\\.?flake8\\)\\'" . conf-mode) provide python] 6)

Youez - 2016 - github.com/yon3zu
LinuXploit