Merge pull request #2083 from justvanrossum/fix-FFF-typo

[varLib] Small bugfix: test for 0xFFFF, not 0xFFF
This commit is contained in:
Just van Rossum 2020-10-09 09:56:35 +02:00 committed by GitHub
commit b1cb5ce1e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ class OnlineVarStoreBuilder(object):
self._outer = varDataIdx
self._data = self._store.VarData[varDataIdx]
self._cache = self._varDataCaches[key]
if len(self._data.Item) == 0xFFF:
if len(self._data.Item) == 0xFFFF:
# This is full. Need new one.
varDataIdx = None