Существуют ли условные обозначения для комментариев модуля Python?

It is my understanding that a module docstring should just provide a general description of what a module does and details such as author and version should only be contained in the module's comments.

However, I have seen the following in comments and docstrings:

__author__ = "..."
__version__ = "..."
__date__ = "..."

Where is the correct location to put items such as these? What other __[name]__ variables are common to list at the top of modules?

16
задан Jace Browning 13 June 2013 в 14:58
поделиться