Python's Mypy--Advanced Usage

Posted by bob on Jun 24, 2019 6:53 PM EDT
Linux Journal; By Reuven M. Lerner
Mail this story
Print this story

In my last article, I introduced Mypy, a package that enforces type checking in Python programs. Python itself is, and always will remain, a dynamically typed language. However, Python 3 supports "annotations", a feature that allows you to attach an object to variables, function parameters and function return values. These annotations are ignored by Python itself, but they can be used by external tools.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Community, Linux, Python

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.