You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
489 B
20 lines
489 B
--- a/docs/usage.rst 2020-09-18 04:19:44.000000000 -0600
|
|
+++ b/docs/usage.rst 2021-09-08 13:59:51.394111583 -0600
|
|
@@ -86,14 +86,14 @@ added to the subscriptions list:
|
|
.. doctest::
|
|
|
|
>>> def f(event):
|
|
- ... print 'got:', event
|
|
+ ... print('got:', event)
|
|
>>> zope.event.subscribers.append(f)
|
|
|
|
>>> zope.event.notify(42)
|
|
got: 42
|
|
|
|
>>> def g(event):
|
|
- ... print 'also got:', event
|
|
+ ... print('also got:', event)
|
|
|
|
>>> zope.event.subscribers.append(g)
|
|
|