Hugo
d5175c38da
Drop python2-specific syntax ( #1674 )
...
* Drop syntax required only for Python 2
* Drop python2-style super() calls
Co-authored-by: Selwin Ong <selwin.ong@gmail.com>
2022-07-24 08:17:07 +07:00
Zekui Shi
51fee72f66
fix print in example
2014-05-21 09:37:10 +02:00
Vincent Driessen
38ec259b6e
Enable the most modern Python syntax.
2014-05-05 10:50:02 +02:00
Vincent Driessen
48cee215af
Rewrite of the connection setup.
...
I'd want to advice against using `use_connection()` more, as the
connection setup is less explicit, and also pollutes global memory.
Because, well:
$ python -m this | head -n4 | tail -n1
;)
2012-05-21 08:08:59 +02:00
Jeffrey Gelens
31259fa106
Fixed examples. use_connection is now being used.
2012-05-20 23:49:08 +02:00
Vincent Driessen
d780c929c0
Change semantics of work(). Add work_burst().
...
work() will now start the worker run loop, and work_burst() now leads to
the burst-then-quit behaviour.
2011-11-17 22:39:53 +01:00
Vincent Driessen
22f3da1832
Update README (and example).
2011-11-15 22:45:51 +01:00
Vincent Driessen
cd31f6aba9
Adapt examples so they run again.
...
Remove sync part of the example.
2011-11-15 00:35:18 +01:00
Vincent Driessen
9b51083fd2
Add example and README updates.
2011-11-14 15:15:05 +01:00