[Tutor] Invalid syntax (pyflakes E)

Mats Wichmann mats at wichmann.us
Tue Jul 13 15:26:50 EDT 2021


On 7/13/21 1:07 PM, Dennis Lee Bieber wrote:
> On Wed, 14 Jul 2021 06:33:21 +1200, dn via Tutor <tutor at python.org>
> declaimed the following:
> 
> 
>>> from pint import UnitRegsitry
>>> ureg = UnitRegistry()
>>
>> UnitRegsitry or UnitRegistry?
>>
> 	Hmmm, I missed that typo...


using a somewhat intelligent editor (IDE or almost-IDE) can eliminate 
these types of errors - accept the offered autocomplete and you won't 
have mismatched param/usage, function names, etc.

I'm just sayin' - there's enough to learn, why not look into something 
that helps with the "niggly stuff"?




More information about the Tutor mailing list