Last active
September 24, 2019 14:22
-
-
Save DavidPiper94/ae4d40a6f45de862816ceb2c36032008 to your computer and use it in GitHub Desktop.
Example code for article about mypy - Example 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def concat(lhs: str, rhs: str) -> str: | |
return lhs + rhs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Link to article: https://medium.com/@HeyDaveTheDev/static-type-checking-in-python-with-mypy-4df617e066c2