403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /lib/python3.11/site-packages/ansible/module_utils/common/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib/python3.11/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,
    )

Youez - 2016 - github.com/yon3zu
LinuXploit