From 22cf401c296ec67f362ef27434b7279075ae87fb Mon Sep 17 00:00:00 2001 From: Vanya Sergeev Date: Fri, 17 Jan 2014 00:34:55 -0800 Subject: [PATCH] add module version tuple --- test_umsgpack.py | 2 +- umsgpack.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test_umsgpack.py b/test_umsgpack.py index cc37f17..53967d8 100644 --- a/test_umsgpack.py +++ b/test_umsgpack.py @@ -227,10 +227,10 @@ "unpackb", "dumps", "loads", + "version", "compatibility", ] - ################################################################################ class TestUmsgpack(unittest.TestCase): diff --git a/umsgpack.py b/umsgpack.py index 84c34c1..b2ca187 100644 --- a/umsgpack.py +++ b/umsgpack.py @@ -44,6 +44,9 @@ License: MIT """ +version = (1,5) +"Module version tuple" + import struct import collections import sys