Module jobs :: Class PrimeFactors
[hide private]
[frames] | no frames]

Class PrimeFactors

source code

 object --+    
          |    
papyros.Job --+
              |
             PrimeFactors

A CPU intensive job: compute the prime factors of a number.

Instance Methods [hide private]
 
__str__(self)
str(x)
source code
 
__call__(self, n)
Abstract method; to be implemented by subclasses.
source code

Inherited from papyros.Job: __eq__, __hash__, __init__

Inherited from papyros.Job (private): _process

Inherited from object: __delattr__, __getattribute__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Properties [hide private]

Inherited from papyros.Job: result

Inherited from object: __class__

Method Details [hide private]

__str__(self)
(Informal representation operator)

source code 
str(x)
Overrides: object.__str__
(inherited documentation)

__call__(self, n)
(Call operator)

source code 
Abstract method; to be implemented by subclasses.
Overrides: papyros.Job.__call__
(inherited documentation)