Skip to content

Commit a1055c8

Browse files
committed
fix(python): avoid variable conflicts
1 parent 1922c20 commit a1055c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

completions/python

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# @since 2.12
44
_comp_xfunc_python_modules()
55
{
6-
local python=python
7-
[[ ${comp_args[0]##*/} == *3* ]] && python=python3
8-
_comp_cmd_python__modules "$python"
6+
local _python=python
7+
[[ ${comp_args[0]##*/} == *3* ]] && _python=python3
8+
_comp_cmd_python__modules "$_python"
99
}
1010

1111
# @deprecated 2.12 use `_comp_xfunc_python_modules` instead

0 commit comments

Comments
 (0)