refactor: fix spelling in private field names

Fix some misspelled field names.
These field names seem to be used only in private contexts.
Thus, the probability of external code accessing these fields is very
low.
In the rare case of external usage, compile time errors will easily
direct users to the new field name.
This commit is contained in:
Lars Kruse
2025-05-02 11:43:11 +02:00
committed by Alan C. Assis
parent a28367f507
commit e5b675d4dc
6 changed files with 18 additions and 18 deletions

View File

@@ -111,7 +111,7 @@ class Stack(object):
return self.check_max_usage()
def avalaible(self):
def available(self):
cur_usage = self.cur_usage()
return self._stack_size - cur_usage