__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
##############################################################################
#
# Copyright (c) 2002 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Adapter-style interface registry
See Adapter class.
"""
from zope.interface import Declaration
def _flatten(implements, include_None=0):
try:
r = implements.flattened()
except AttributeError:
if implements is None:
r=()
else:
r = Declaration(implements).flattened()
if not include_None:
return r
r = list(r)
r.append(None)
return r
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| common | Folder | 0755 |
|
|
| tests | Folder | 0755 |
|
|
| __init__.py | File | 3.38 KB | 0644 |
|
| _compat.py | File | 4.27 KB | 0644 |
|
| _flatten.py | File | 1.03 KB | 0644 |
|
| _zope_interface_coptimizations.cpython-312-x86_64-linux-gnu.so | File | 42.98 KB | 0644 |
|
| adapter.py | File | 35.37 KB | 0644 |
|
| advice.py | File | 3.8 KB | 0644 |
|
| declarations.py | File | 42 KB | 0644 |
|
| document.py | File | 3.97 KB | 0644 |
|
| exceptions.py | File | 8.43 KB | 0644 |
|
| interface.py | File | 37.92 KB | 0644 |
|
| interfaces.py | File | 48.95 KB | 0644 |
|
| registry.py | File | 25.22 KB | 0644 |
|
| ro.py | File | 23.59 KB | 0644 |
|
| verify.py | File | 6.99 KB | 0644 |
|