diff options
Diffstat (limited to 'bitbake/lib/bb/namedtuple_with_abc.py')
-rw-r--r-- | bitbake/lib/bb/namedtuple_with_abc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/namedtuple_with_abc.py b/bitbake/lib/bb/namedtuple_with_abc.py index f5e0a3f3d5..32f2fc642c 100644 --- a/bitbake/lib/bb/namedtuple_with_abc.py +++ b/bitbake/lib/bb/namedtuple_with_abc.py | |||
@@ -202,8 +202,8 @@ if __name__ == '__main__': | |||
202 | print(rec5._replace(k=222)._my_custom_method()) # MyMixIn's | 202 | print(rec5._replace(k=222)._my_custom_method()) # MyMixIn's |
203 | print(rec5._replace(k=222).count(2)) # MyMixIn's | 203 | print(rec5._replace(k=222).count(2)) # MyMixIn's |
204 | 204 | ||
205 | # None that behavior: the standard namedtuple methods cannot be | 205 | # Note that behavior: the standard namedtuple methods cannot be |
206 | # overriden by a foreign mix-in -- even if the mix-in is declared | 206 | # overridden by a foreign mix-in -- even if the mix-in is declared |
207 | # as the leftmost base class (but, obviously, you can override them | 207 | # as the leftmost base class (but, obviously, you can override them |
208 | # in the defined class or its subclasses): | 208 | # in the defined class or its subclasses): |
209 | 209 | ||