summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek Sokorski <b.sokorski@gmail.com>2023-01-19 01:01:56 +0100
committerPhil Jones <philip.graham.jones@googlemail.com>2023-01-22 11:31:40 +0000
commit04698559663ab5d7169718cbdce764a1143d662c (patch)
tree305f29662c06ddb304688d00b849a4142891e739
parent348b9e7ade83442c0541d58ba12669c41db191fd (diff)
downloadblinker-04698559663ab5d7169718cbdce764a1143d662c.tar.gz
Refresh README
-rw-r--r--README.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 883dded..e3bc6d4 100644
--- a/README.rst
+++ b/README.rst
@@ -12,12 +12,12 @@ sent by any sender.
>>> from blinker import signal
>>> started = signal('round-started')
>>> def each(round):
- ... print "Round %s!" % round
+ ... print(f"Round {round}")
...
>>> started.connect(each)
>>> def round_two(round):
- ... print "This is round two."
+ ... print("This is round two.")
...
>>> started.connect(round_two, sender=2)