[Python-Dev] versioning standards?
Fred L. Drake, Jr.
fdrake@acm.org
Mon, 27 Nov 2000 11:33:04 -0500 (EST)
Greg Wilson writes:
> Hi, folks. Is there a standard or usual way to provide version
> information inside a Python module or class? Special tokens in
> the doc string, a method like "getVersion"...?
Modules sometimes offer a "__version__" attribute, which I've also
seen called "version" or "VERSION" in strange cases (xmllib and (I
think) PIL).
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Digital Creations