Class of ``False`` singleton
Definition at line 38 of file config.py.
◆ __init__()
searx.botdetection.config.FALSE.__init__ |
( |
| self, |
|
|
str | msg ) |
Definition at line 42 of file config.py.
42 def __init__(self, msg: str):
43 self.msg = msg
44
◆ __bool__()
searx.botdetection.config.FALSE.__bool__ |
( |
| self | ) |
|
Definition at line 45 of file config.py.
45 def __bool__(self):
46 return False
47
◆ __str__()
searx.botdetection.config.FALSE.__str__ |
( |
| self | ) |
|
Definition at line 48 of file config.py.
48 def __str__(self):
49 return self.msg
50
References msg.
◆ __repr__
searx.botdetection.config.FALSE.__repr__ = __str__ |
|
staticprivate |
◆ msg
searx.botdetection.config.FALSE.msg = msg |
The documentation for this class was generated from the following file:
- /home/andrew/Documents/code/public/searxng/searx/botdetection/config.py