mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-05-06 15:46:21 +02:00
51330: Update python3 completion for version 3.11
This commit is contained in:
parent
9a75555b0f
commit
f264fcde80
|
@ -1,3 +1,8 @@
|
||||||
|
2023-01-27 Shohei YOSHIDA <syohex@gmail.com>
|
||||||
|
|
||||||
|
* 51330: Completion/Unix/Command/_python: Update python3
|
||||||
|
completion for version 3.11
|
||||||
|
|
||||||
2023-01-24 Shohei YOSHIDA <syohex@gmail.com>
|
2023-01-24 Shohei YOSHIDA <syohex@gmail.com>
|
||||||
|
|
||||||
* 51326: Completion/Unix/Command/_gcc: Improve -fsanitize
|
* 51326: Completion/Unix/Command/_gcc: Improve -fsanitize
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#compdef -P python[0-9.]#
|
#compdef -P python[0-9.]#
|
||||||
|
|
||||||
# Python 2.7
|
# Python 2.7
|
||||||
# Python 3.9
|
# Python 3.11
|
||||||
|
|
||||||
local curcontext="$curcontext" state state_descr line _compskip="$_compskip"
|
local curcontext="$curcontext" state state_descr line _compskip="$_compskip"
|
||||||
typeset -A opt_args
|
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]'
|
'(-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]'
|
'(-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)'
|
'--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]"
|
"-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]'
|
'-q[do not print version and copyright messages]'
|
||||||
'-X[set implementation-specific option]:option'
|
'-X[set implementation-specific option]:option'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue