Commits

Kirill Simonov committed 6b7796f

Added attributes ``yaml.__version__`` and ``yaml.__libyaml__`` (fixes #85).

  • Participants
  • Parent commits 91962b9

Comments (0)

Files changed (1)

File lib/yaml/__init__.py

 from loader import *
 from dumper import *
 
+__version__ = '3.06'
+
 try:
     from cyaml import *
-    with_libyaml = True
+    __libyaml__ = True
 except ImportError:
-    with_libyaml = False
+    __libyaml__ = False
 
 def scan(stream, Loader=Loader):
     """