mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Comment tweak.
This commit is contained in:
parent
0081cc529c
commit
7f65c65208
1 changed files with 5 additions and 5 deletions
|
@ -166,11 +166,11 @@ class Distribution:
|
||||||
# cheap to "run" a command whenever we think we might need to -- if
|
# cheap to "run" a command whenever we think we might need to -- if
|
||||||
# it's already been done, no need for expensive filesystem
|
# it's already been done, no need for expensive filesystem
|
||||||
# operations, we just check the 'have_run' dictionary and carry on.
|
# operations, we just check the 'have_run' dictionary and carry on.
|
||||||
# It's only safe to query 'have_run' for a command class
|
# It's only safe to query 'have_run' for a command class that has
|
||||||
# that has been instantiated -- a false value will be put inserted
|
# been instantiated -- a false value will be inserted when the
|
||||||
# when the command object is created, and replaced with a true
|
# command object is created, and replaced with a true value when
|
||||||
# value when the command is succesfully run. Thus it's
|
# the command is succesfully run. Thus it's probably best to use
|
||||||
# probably best to use '.get()' rather than a straight lookup.
|
# '.get()' rather than a straight lookup.
|
||||||
self.have_run = {}
|
self.have_run = {}
|
||||||
|
|
||||||
# __init__ ()
|
# __init__ ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue