blob: 419d1f3cac189a63ce7b1db4e118d88009e38e66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
__version__ = "0.32"
from load import loadFile, load, Parser, l
from dump import dump, dumpToFile, Dumper, d
from stream import YamlLoaderException, StringStream, FileStream
from timestamp import timestamp
import sys
if sys.hexversion >= 0x02020000:
from redump import loadOrdered
try:
from ypath import ypath
except NameError:
def ypath(expr,target='',cntx=''):
raise NotImplementedError("ypath requires Python 2.2")
if sys.hexversion < 0x02010000:
raise 'YAML is not tested for pre-2.1 versions of Python'
|