comparison i18n/posplit @ 51937:936f85b243a8

base85: avoid a spurious use-before-initialized warning in `pure` module The error wasn't possible because the only way for `acc` to not be initialized was if `len(text) == 0`. But then `0 % 5 == 0`, so no attempt at padding was done. It's a simple enough fix to not have PyCharm flag this though. The value needs to be reset on each loop iteration, so it's a line copy, not a line move.
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 04 Oct 2024 23:09:56 -0400
parents f4733654f144
children
comparison
equal deleted inserted replaced
51936:c6899b334d56 51937:936f85b243a8