diff options
author | Mats Wichmann <mats@linux.com> | 2020-07-11 14:06:16 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2020-09-23 18:31:48 (GMT) |
commit | d0a3e4ed38f4a4cd84000dec2342f51b6dda69b9 (patch) | |
tree | 69968f37fe9a8d41ff23205f66468003956dfff2 /SCons/PathList.py | |
parent | ea642040eca864aaeac25da013cce9fd875489f0 (diff) | |
download | SCons-d0a3e4ed38f4a4cd84000dec2342f51b6dda69b9.zip SCons-d0a3e4ed38f4a4cd84000dec2342f51b6dda69b9.tar.gz SCons-d0a3e4ed38f4a4cd84000dec2342f51b6dda69b9.tar.bz2 |
Update some copyright strings and drop __revision__ [skip appveyor]
Touches the first and second levels of SCons (except SCons.Tool),
not tests or docs which remain TODO.
Make sure docstring is first non-comment content, eliminate cases where
docstring is set elsewhere but assigns to __doc__ - this approach of
course worked inside Python, but confuses various tools.
Some module-level docstrings modified a bit, in particular
the convention of having the name of the module as the first line
is dropped, replaced by a summary description going there instead -
this improves the look in the API Docs, which otherwise display
something like:
SCons.Foo - SCons.Foo
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons/PathList.py')
-rw-r--r-- | SCons/PathList.py | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/SCons/PathList.py b/SCons/PathList.py index 768198b..a7e666d 100644 --- a/SCons/PathList.py +++ b/SCons/PathList.py @@ -1,5 +1,6 @@ +# MIT License # -# __COPYRIGHT__ +# Copyright The SCons Foundation # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -19,17 +20,13 @@ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# - -__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" - -__doc__ = """SCons.PathList -A module for handling lists of directory paths (the sort of things -that get set as CPPPATH, LIBPATH, etc.) with as much caching of data and -efficiency as we can, while still keeping the evaluation delayed so that we -Do the Right Thing (almost) regardless of how the variable is specified. +"""Handle lists of directory paths. +These are the path lists that get set as CPPPATH, LIBPATH, +etc.) with as much caching of data and efficiency as we can, while +still keeping the evaluation delayed so that we Do the Right Thing +(almost) regardless of how the variable is specified. """ import os |