Example Analysis of Type hints in python3
Editor to share with you the example analysis of type tips in python3, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Fun (class object) in static programming such as C++, such as fun (int A1, int a2, int a3)
In python, there is no type hint before 3. 0, because python is a dynamic language, and dynamic hints have been added since 3. 0.
Python official
TaskType is a Class
Def _ _ init__ (self, fp, task_type: TaskType, crmid=None, remote_fileid=None, telnumber=None):
The above is all the content of the article "sample Analysis of Type Tips in python3". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!