diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-06 02:46:00 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-06 02:46:00 +0200 |
| commit | fb374053fff9c2da44f6aab84a24242cbb246204 (patch) | |
| tree | 5be6d19c412bb9ac177199050709b4a9de898ee7 | |
| parent | 5d3a42a5e9d13649b28535b48b97eaeec3bd7095 (diff) | |
Simplify _Feed.len().
| -rw-r--r-- | kconfiglib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index a7328f7..5ab1fee 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -3523,7 +3523,7 @@ class _Feed(object): self.i = 0 def __len__(self): - return len(self.items) + return self.length def check(self, token): """Check if the next token is 'token'. If so, remove it from the token |
