Skip to content

Commit

Permalink
fix(python): avoid variable conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Aug 20, 2023
1 parent a31906c commit bef94c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions completions/python
Expand Up @@ -3,9 +3,9 @@
# @since 2.12
_comp_xfunc_python_compgen_modules()
{
local python=python
[[ ${comp_args[0]##*/} == *3* ]] && python=python3
_comp_cmd_python__compgen_modules "$python"
local _python=python
[[ ${comp_args[0]##*/} == *3* ]] && _python=python3
_comp_cmd_python__compgen_modules "$_python"
}

# @deprecated 2.12 use `_comp_xfunc_python_compgen_modules` instead
Expand Down

0 comments on commit bef94c3

Please sign in to comment.