yaml: Add __version__ attribute (#2636)

This commit is contained in:
Florian Bruhin
2018-11-28 05:56:01 +01:00
committed by Jelle Zijlstra
parent 1857435e6f
commit 25c5f3cace

View File

@@ -9,6 +9,7 @@ from . import resolver # Help mypy a bit; this is implied by loader and dumper
from .cyaml import *
__with_libyaml__ = ... # type: Any
__version__ = ... # type: str
def scan(stream, Loader=...): ...
def parse(stream, Loader=...): ...