Skip to content

Commit bd60b26

Browse files
committed
feat(pydoc): support versioned 3.13..15 executables
1 parent 44804ae commit bd60b26

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

completions/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@
354354
/py.test
355355
/py.test-[23]
356356
/pydoc3
357+
/pydoc3.1[345]
357358
/pylint-[23]
358359
/pypy
359360
/pypy3

completions/Makefile.am

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,9 @@ CLEANFILES = \
942942
py.test-2 \
943943
py.test-3 \
944944
pydoc3 \
945+
pydoc3.13 \
946+
pydoc3.14 \
947+
pydoc3.15 \
945948
pylint-2 \
946949
pylint-3 \
947950
pypy \
@@ -1475,7 +1478,7 @@ endif
14751478
$(ss) pytest \
14761479
py.test py.test-2 py.test-3 pytest-2 pytest-3
14771480
$(ss) pydoc \
1478-
pydoc3
1481+
pydoc3 pydoc3.13 pydoc3.14 pydoc3.15
14791482
$(ss) pylint \
14801483
pylint-2 pylint-3
14811484
$(ss) python \

completions/pydoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ _comp_cmd_pydoc()
3636

3737
_comp_compgen -a filedir py
3838
} &&
39-
complete -F _comp_cmd_pydoc pydoc pydoc3
39+
complete -F _comp_cmd_pydoc pydoc pydoc3 pydoc3.{13..15}
4040

4141
# ex: filetype=sh

0 commit comments

Comments
 (0)