+ 4

In python3 type-hinting, how do you type-hint a custom type class or object?

15th Aug 2019, 9:53 PM
Adam Salehe
Adam Salehe - avatar
3 odpowiedzi
+ 6
I don't get your question. Please state what is your desired outcome as well as your current progress.
15th Aug 2019, 11:55 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
My question is about the new feature in python 3 that allows type hints like in Typescript.. My desired outcome is to hint a function/variable/return-type, to a custom class i made or its object..
16th Aug 2019, 7:35 AM
Adam Salehe
Adam Salehe - avatar