Рет қаралды 70,891
In Python we have 2 type annotations that are incredibly similar. In fact, they are so similar that they are the same thing actually with different names. Let's learn how we can use Never & NoReturn in Python!
Learn more about "NoReturn" & "Never" here:
typing.readthedocs.io/en/late...
▶ Become job-ready with Python:
www.indently.io
▶ Follow me on Instagram:
/ indentlyreels
00:00 Learning Python made simple
00:05 Intro
00:36 Where to use Never/NoReturn In Python
01:31 Using Never
01:48 Using NoReturn
02:03 Another way to use Never
04:05 So… what did that do?
06:23 Summing it all up
06:50 What are your thoughts?