Changes between Version 11 and Version 12 of PyYAMLDocumentation


Ignore:
Timestamp:
05/07/06 02:43:57 (8 years ago)
Author:
xi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PyYAMLDocumentation

    v11 v12  
    763763ValueToken() 
    764764BlockMappingStartToken() 
     765 
    765766KeyToken() 
    766767ScalarToken(plain=True, style=None, value=u'KeyToken') 
     
    953954=== Loader === 
    954955 
     956{{{ 
     957#!python 
     958BaseLoader(stream) 
     959SafeLoader(stream) 
     960Loader(stream) 
     961}}} 
     962 
     963'''`BaseLoader`''', '''`SafeLoader`''', and '''`Loader`''' provide the PyYAML ''Loader'' interfaces. 
     964'''`Loader`''' is the most common of them and should be used in most cases. '''`BaseLoader`''' does not 
     965resolve or support any tags and construct only basic Python objects: lists, dictionaries and Unicode strings. 
     966'''`SafeLoader`''' supports only standard YAML tags and thus it does not construct class instances and 
     967probably safe to use with documents received from an untrusted source. 
     968 
     969'''`stream`''' is an input YAML stream. It can be a string, a Unicode string, an open file, an open Unicode file. 
     970 
    955971 
    956972==== Scanner interface ==== 
     973 
     974{{{ 
     975#!python 
     976scan(stream, Loader=Loader) 
     977 
     978Loader.check_token(*TokenClasses) 
     979Loader.peek_token() 
     980Loader.get_token() 
     981}}} 
    957982 
    958983