~ubuntu-branches/ubuntu/precise/cython/precise

« back to all changes in this revision

Viewing changes to Doc/s5/ep2008/worker.py

  • Committer: Bazaar Package Importer
  • Author(s): Python Applications Packaging Team, Ryan Kavanagh, Jakub Wilk, Piotr Ożarowski
  • Date: 2009-08-10 23:18:51 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090810231851-i6f7mr1ij1h2czkp
Tags: 0.11.2-1
[ Ryan Kavanagh ]
* New upstream release (Closes: #525620, #536213)

[ Jakub Wilk ]
* debian/rules: remove generated files.

[ Piotr Ożarowski ]
* Standards-Version bumped to 3.8.2 (no change needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
class HardWorker(object):
 
3
    u"Almost Sisyphus"
 
4
    def __init__(self, task):
 
5
        self.task = task
 
6
 
 
7
    def work_hard(self):
 
8
        for i in range(100):
 
9
            self.task()