diff options
author | Bartek Sokorski <b.sokorski@gmail.com> | 2023-01-19 01:01:56 +0100 |
---|---|---|
committer | Phil Jones <philip.graham.jones@googlemail.com> | 2023-01-22 11:31:40 +0000 |
commit | 04698559663ab5d7169718cbdce764a1143d662c (patch) | |
tree | 305f29662c06ddb304688d00b849a4142891e739 | |
parent | 348b9e7ade83442c0541d58ba12669c41db191fd (diff) | |
download | blinker-04698559663ab5d7169718cbdce764a1143d662c.tar.gz |
Refresh README
-rw-r--r-- | README.rst | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |