You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The kill_process local function defined in the Git.execute method
is a local function and not a method, but it was easy to misread as
a method for two reasons:
- Its docstring described it as a method.
- It was named with a leading underscore, as though it were a
nonpublic method. But this name is a local variable, and local
variables are always nonpublic (except when they are function
parameters, in which case they are in a sense public). A leading
underscore in a local variable name usually means the variable is
unused in the function.
This fixes the docstring and drops the leading underscore from the
name. If this is ever extracted from the Git.execute method and
placed at class or module scope, then the name can be changed back.
0 commit comments