diff options
| author | Shohei YOSHIDA <syohex@gmail.com> | 2023-01-25 14:48:38 +0900 |
|---|---|---|
| committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2023-01-27 18:30:19 +0000 |
| commit | f264fcde80a7ba2b687a1b94d567c48bbdf3423d (patch) | |
| tree | 9f5f0a2ca0b3442ea3f693e33c8f395529a0e091 /Completion/Unix | |
| parent | unposted: Fix typo in an X-Seq number in an old ChangeLog entry (diff) | |
| download | zsh-f264fcde80a7ba2b687a1b94d567c48bbdf3423d.tar zsh-f264fcde80a7ba2b687a1b94d567c48bbdf3423d.tar.gz zsh-f264fcde80a7ba2b687a1b94d567c48bbdf3423d.tar.bz2 zsh-f264fcde80a7ba2b687a1b94d567c48bbdf3423d.tar.lz zsh-f264fcde80a7ba2b687a1b94d567c48bbdf3423d.tar.xz zsh-f264fcde80a7ba2b687a1b94d567c48bbdf3423d.tar.zst zsh-f264fcde80a7ba2b687a1b94d567c48bbdf3423d.zip | |
51330: Update python3 completion for version 3.11
Diffstat (limited to 'Completion/Unix')
| -rw-r--r-- | Completion/Unix/Command/_python | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_python b/Completion/Unix/Command/_python index 2711b8fd3..6e209a199 100644 --- a/Completion/Unix/Command/_python +++ b/Completion/Unix/Command/_python @@ -1,7 +1,7 @@ #compdef -P python[0-9.]# # Python 2.7 -# Python 3.9 +# Python 3.11 local curcontext="$curcontext" state state_descr line _compskip="$_compskip" typeset -A opt_args @@ -12,7 +12,11 @@ if _pick_variant python3=Python\ 3 python2 --version; then '(-bb)-b[issue warnings about str(bytes_instance), str(bytearray_instance) and comparing bytes/bytearray with str]' '(-b)-bb[issue errors about str(bytes_instance), str(bytearray_instance) and comparing bytes/bytearray with str]' '--check-hash-based-pycs[configure how Python evaluates up-to-dateness of hash-based .pyc files]:mode:(always default never)' + '--help-env[print help about Python environment variables and exit]' + '--help-xoptions[print help about implementation-specific -X options and exit]' + '--help-all[print complete help information and exit]' "-I[isolate Python from the user's environment]" + '-P[do not prepend a potentially unsafe path to sys.path]' '-q[do not print version and copyright messages]' '-X[set implementation-specific option]:option' ) |
