Answer the question
In order to leave comments, you need to log in
How to annotate variables in DocString?
Hello everyone, I saw how variables were annotated directly in DocString, but I did not find guides on the Internet. Can you provide links to guides?
Answer the question
In order to leave comments, you need to log in
Do as you like, do it, they still do not parsitsya. But in general it's better to stick to PEP 526 for annotations.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question