Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/python/pathspec/pathspec/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 830 B image not shown  

Quelle  compat.py

  Sprache: Python
 

# encoding: utf-8
"""
This module provides compatibility between Python 2 and 3. Hardly
anything is used by this project to constitute including `six`_.

.. _`six`: http://pythonhosted.org/six
"""

import sys

if sys.version_info[0] < 3:
 # Python 2.
 unicode = unicode
 string_types = (basestring,)

 from collections import Iterable
 from itertools import izip_longest

 def iterkeys(mapping):
  return mapping.iterkeys()

else:
 # Python 3.
 unicode = str
 string_types = (unicode,)

 from collections.abc import Iterable
 from itertools import zip_longest as izip_longest

 def iterkeys(mapping):
  return mapping.keys()

try:
 # Python 3.6+.
 from collections.abc import Collection
except ImportError:
 # Python 2.7 - 3.5.
 from collections import Container as Collection

CollectionType = Collection
IterableType = Iterable

Messung V0.5 in Prozent
C=94 H=93 G=93

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-06-05) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.