summaryrefslogtreecommitdiff
path: root/SCons/PathList.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2023-05-03 18:29:26 -0700
committerGitHub <noreply@github.com>2023-05-03 18:29:26 -0700
commit239f437b463dc948690473830f1816e9a67b72c2 (patch)
tree203b499babac9dbed56afbd1e1eea548ac1b9932 /SCons/PathList.py
parent6ce33bdadec1cf558a6d0df27a6a083516d6cf23 (diff)
parent5717e06c245d99923f5c4a6e786a564799871c49 (diff)
downloadscons-git-239f437b463dc948690473830f1816e9a67b72c2.tar.gz
Merge branch 'master' into maint/validateOptions
Diffstat (limited to 'SCons/PathList.py')
-rw-r--r--SCons/PathList.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/SCons/PathList.py b/SCons/PathList.py
index a7e666dfa..dab8b2ce4 100644
--- a/SCons/PathList.py
+++ b/SCons/PathList.py
@@ -67,7 +67,7 @@ class _PathList:
"""
An actual PathList object.
"""
- def __init__(self, pathlist):
+ def __init__(self, pathlist) -> None:
"""
Initializes a PathList object, canonicalizing the input and
pre-processing it for quicker substitution later.
@@ -113,7 +113,7 @@ class _PathList:
self.pathlist = tuple(pl)
- def __len__(self): return len(self.pathlist)
+ def __len__(self) -> int: return len(self.pathlist)
def __getitem__(self, i): return self.pathlist[i]
@@ -168,7 +168,7 @@ class PathListCache:
cheaply avoid re-parsing both values of CPPPATH by using the
common value from this cache.
"""
- def __init__(self):
+ def __init__(self) -> None:
self._memo = {}
def _PathList_key(self, pathlist):