# Path: srsly/ruamel_yaml/util.py
# def configobj_walker(cfg):
#     # type: (Any) -> Any
#     """
#     walks over a ConfigObj (INI file with comments) generating
#     corresponding YAML output (including comments
#     """
#     from configobj import ConfigObj  # type: ignore
# 
#     assert isinstance(cfg, ConfigObj)
#     for c in cfg.initial_comment:
#         if c.strip():
#             yield c
#     for s in _walk_section(cfg):
#         if s.strip():
#             yield s
#     for c in cfg.final_comment:
#         if c.strip():
#             yield c


import warnings
from .util import configobj_walker as new_configobj_walker
    from typing import Any  # NOQA
# coding: utf-8



if False:  # MYPY


def configobj_walker(cfg):
    # type: (Any) -> Any
    warnings.warn(
        "configobj_walker has moved to srsly.ruamel_yaml.util, please update your code"
    )

# Path: srsly/ruamel_yaml/util.py
# def configobj_walker(cfg):
#     # type: (Any) -> Any
#     """
#     walks over a ConfigObj (INI file with comments) generating
#     corresponding YAML output (including comments
#     """
#     from configobj import ConfigObj  # type: ignore
# 
#     assert isinstance(cfg, ConfigObj)
#     for c in cfg.initial_comment:
#         if c.strip():
#             yield c
#     for s in _walk_section(cfg):
#         if s.strip():
#             yield s
#     for c in cfg.final_comment:
#         if c.strip():
#             yield c


# Path: srsly/ruamel_yaml/configobjwalker.py
import warnings
from .util import configobj_walker as new_configobj_walker
    from typing import Any  # NOQA

# coding: utf-8



if False:  # MYPY


def configobj_walker(cfg):
    # type: (Any) -> Any
    warnings.warn(
        "configobj_walker has moved to srsly.ruamel_yaml.util, please update your code"
    )

    return new_configobj_walker(cfg)