]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
doco version
authorBob Halley <halley@dnspython.org>
Sun, 15 Jan 2017 14:25:33 +0000 (06:25 -0800)
committerBob Halley <halley@dnspython.org>
Sun, 15 Jan 2017 14:25:33 +0000 (06:25 -0800)
dns/version.py
doc/utilities.rst

index de0fe3815a76ec49603befd6a49d7618956dd905..4e7023c7175bb5345c752f37da5870c41455f238 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2003-2007, 2009-2011 Nominum, Inc.
+# Copyright (C) 2003-2017 Nominum, Inc.
 #
 # Permission to use, copy, modify, and distribute this software and its
 # documentation for any purpose with or without fee is hereby granted,
 
 """dnspython release version information."""
 
+#: MAJOR
 MAJOR = 1
+#: MINOR
 MINOR = 16
+#: MICRO
 MICRO = 0
+#: RELEASELEVEL
 RELEASELEVEL = 0x0f
+#: SERIAL
 SERIAL = 0
 
 if RELEASELEVEL == 0x0f:
+    #: version
     version = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
 elif RELEASELEVEL == 0x00:
     version = '%d.%d.%dx%d' % \
@@ -30,5 +36,6 @@ else:
     version = '%d.%d.%d%x%d' % \
               (MAJOR, MINOR, MICRO, RELEASELEVEL, SERIAL)
 
+#: hexversion
 hexversion = MAJOR << 24 | MINOR << 16 | MICRO << 8 | RELEASELEVEL << 4 | \
     SERIAL
index 293736149fae9d553eadeac6850e55f8ce167ed8..88c1f72e4eb7964c6eb39f08a9cda71a2eae9a8f 100644 (file)
@@ -16,3 +16,6 @@ Miscellaneous Utilities
 
 .. automodule:: dns.set
    :members:
+
+.. automodule:: dns.version
+   :members: