[svn r38505] clarify that config.getvalue will first lookup

in options.

--HG--
branch : trunk
This commit is contained in:
hpk 2007-02-11 19:43:34 +01:00
parent 508eb5d4de
commit 7973f472d7
1 changed files with 3 additions and 2 deletions

View File

@ -120,8 +120,9 @@ class Config(object):
return self.option return self.option
def getvalue(self, name, path=None): def getvalue(self, name, path=None):
""" return 'name' value looked up from the first conftest file """ return 'name' value looked up from the 'options'
found up the path (including the path itself). and then from the first conftest file found up
the path (including the path itself).
if path is None, lookup the value in the initial if path is None, lookup the value in the initial
conftest modules found during command line parsing. conftest modules found during command line parsing.
""" """