UnknownSec Bypass
403
:
/
lib
/
python3
/
dist-packages
/
hamcrest
/
core
/
core
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
isanything.py
from hamcrest.core.base_matcher import BaseMatcher __author__ = "Jon Reid" __copyright__ = "Copyright 2011 hamcrest.org" __license__ = "BSD, see License.txt" class IsAnything(BaseMatcher): def __init__(self, description): self.description = description if not description: self.description = 'ANYTHING' def _matches(self, item): return True def describe_to(self, description): description.append_text(self.description) def anything(description=None): """Matches anything. :param description: Optional string used to describe this matcher. This matcher always evaluates to ``True``. Specify this in composite matchers when the value of a particular element is unimportant. """ return IsAnything(description)
Copyright © 2025 - UnknownSec