a
    #©b~  ã                   @   s   d Z dd„ Zdd„ ZdS )a  
****
YAML
****
Read and write NetworkX graphs in YAML format.

"YAML is a data serialization format designed for human readability
and interaction with scripting languages."
See http://www.yaml.org for documentation.

Format
------
http://pyyaml.org/wiki/PyYAML

c                   C   s   ddgS )NÚ	read_yamlÚ
write_yaml© r   r   r   úc/home/yuhw/wc/wire-cell-python-pr-11/pr11/lib/python3.9/site-packages/networkx/readwrite/nx_yaml.pyÚ__dir__   s    r   c                 C   sH   | dkrt dƒ‚| dkr t dƒ‚| dkr0t dƒ‚tdt› d| › �ƒ‚d	S )
z8Remove functions and provide informative error messages.Znx_yamla  
The nx_yaml module has been removed from NetworkX.
Please use the `yaml` package directly for working with yaml data.
For example, a networkx.Graph `G` can be written to and loaded
from a yaml file with:

    import yaml

    with open('path_to_yaml_file', 'w') as fh:
        yaml.dump(G, fh)
    with open('path_to_yaml_file', 'r') as fh:
        G = yaml.load(fh, Loader=yaml.Loader)

Note that yaml.Loader is considered insecure - see the pyyaml
documentation for further details.

This message will be removed in NetworkX 3.0.r   a5  
read_yaml has been removed from NetworkX, please use `yaml`
directly:

    import yaml

    with open('path', 'r') as fh:
        yaml.load(fh, Loader=yaml.Loader)

Note that yaml.Loader is considered insecure - see the pyyaml
documentation for further details.

This message will be removed in NetworkX 3.0.r   zÞ
write_yaml has been removed from NetworkX, please use `yaml`
directly:

    import yaml

    with open('path_for_yaml_output', 'w') as fh:
        yaml.dump(G_to_be_yaml, fh)

This message will be removed in NetworkX 3.0.zmodule z has no attribute N)ÚImportErrorÚAttributeErrorÚ__name__)Únamer   r   r   Ú__getattr__   s    ÿÿ
ÿr
   N)Ú__doc__r   r
   r   r   r   r   Ú<module>   s   