K
K
kirillinyakin2020-09-12 22:53:25
Python
kirillinyakin, 2020-09-12 22:53:25

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

1 answer(s)
I
Ivan Yakushenko, 2020-09-12
@kirillinyakin

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 question

Ask a Question

731 491 924 answers to any question