Warning!
The version you're viewing is not the latest.
Go to the latest version
Function __init__
Synopsis
def __init__(self, stream)
Description
No description yet.
Source
Lines 43-54 in lib3/yaml/loader.py.
def __init__(self, stream):
Reader.__init__(self, stream)
Scanner.__init__(self)
Parser.__init__(self)
Composer.__init__(self)
Constructor.__init__(self)
Resolver.__init__(self)
safeLoader is the same as Loader (which is and was always unsafe on
trusted input). Use of either Loader or UnsafeLoader should be rare, since
llLoad should be able to load almost all YAML safely. Loader is left intact
ensure backwards compatability.