Stampa docstrings in Python 3
-
31-10-2019 - |
Domanda
Come si stampano le stringhe doc in Python 3.1.x?
Ho provato con i moduli RE e SYS come test e continuo a ottenere errori. Grazie
import re
print(re._doc_)
Traceback (most recent call last):
File "<pyshell#91>", line 1, in <module>
print(re._doc_)
AttributeError: 'module' object has no attribute '_doc_'
Nessuna soluzione corretta
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow