diff --git a/wiki/PyYAMLDocumentation.html b/wiki/PyYAMLDocumentation.html index 1cdf42f..db62251 100644 --- a/wiki/PyYAMLDocumentation.html +++ b/wiki/PyYAMLDocumentation.html @@ -404,10 +404,10 @@

Loading YAML

yaml.load accepts a byte string, a Unicode string, an open binary file object, or an open text file object. A byte string or a file must be encoded with utf-8, utf-16-be or utf-16-le encoding. yaml.load detects the encoding by checking the BOM (byte order mark) sequence at the beginning of the string/file. If no BOM is present, the utf-8 encoding is assumed.

yaml.load returns a Python object.

>>> yaml.load(u"""
-... hello: Привет!
+... hello: Привіт!
 ... """)    # In Python 3, do not use the 'u' prefix
 
-{'hello': u'\u041f\u0440\u0438\u0432\u0435\u0442!'}
+{'hello': u'\u041f\u0440\u0438\u0432\u0456\u0442!'}
 
 >>> stream = file('document.yaml', 'r')    # 'document.yaml' contains a single YAML document.
 >>> yaml.load(stream)
diff --git a/wiki/PyYAMLDocumentation.md b/wiki/PyYAMLDocumentation.md
index 1d451c2..13d7afa 100644
--- a/wiki/PyYAMLDocumentation.md
+++ b/wiki/PyYAMLDocumentation.md
@@ -145,10 +145,10 @@ the string/file. If no *BOM* is present, the *utf-8* encoding is assumed.
 
 ``` {.python}
 >>> yaml.load(u"""
-... hello: Привет!
+... hello: Привіт!
 ... """)    # In Python 3, do not use the 'u' prefix
 
-{'hello': u'\u041f\u0440\u0438\u0432\u0435\u0442!'}
+{'hello': u'\u041f\u0440\u0438\u0432\u0456\u0442!'}
 
 >>> stream = file('document.yaml', 'r')    # 'document.yaml' contains a single YAML document.
 >>> yaml.load(stream)