diff --git a/docs/scenarios/serialization.rst b/docs/scenarios/serialization.rst index 3edc6aaa2..5f10155c3 100644 --- a/docs/scenarios/serialization.rst +++ b/docs/scenarios/serialization.rst @@ -130,7 +130,7 @@ structures in Python. One such example is below. import yaml with open('/tmp/file.yaml', 'r', newline='') as f: try: - print(yaml.load(f)) + print(yaml.full_load(f)) except yaml.YAMLError as ymlexcp: print(ymlexcp) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy