diff options
Diffstat (limited to 'SCons/PathList.py')
-rw-r--r-- | SCons/PathList.py | 6 |
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): |