summaryrefslogtreecommitdiff
path: root/rsa/parallel.py
diff options
context:
space:
mode:
authorYesudeep Mangalapilly <yesudeep@gmail.com>2011-08-24 16:53:39 +0530
committerYesudeep Mangalapilly <yesudeep@gmail.com>2011-08-24 16:53:39 +0530
commitb5bab2221ad88ad49962c402eecae418db6a9eba (patch)
tree0d752cc34ec7b64a4b1f70caabee05b733157cf6 /rsa/parallel.py
parent245952eba1d073e7b92e7b384829cbb0386a8134 (diff)
downloadrsa-git-b5bab2221ad88ad49962c402eecae418db6a9eba.tar.gz
Reverts docstring quoting syntax.
Diffstat (limited to 'rsa/parallel.py')
-rw-r--r--rsa/parallel.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/rsa/parallel.py b/rsa/parallel.py
index 8c03f79..d164067 100644
--- a/rsa/parallel.py
+++ b/rsa/parallel.py
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-"""Functions for parallel computation on multiple cores.
+'''Functions for parallel computation on multiple cores.
Introduced in Python-RSA 3.1.
@@ -22,7 +22,7 @@ Introduced in Python-RSA 3.1.
Requires Python 2.6 or newer.
-"""
+'''
import multiprocessing as mp
@@ -42,7 +42,7 @@ def _find_prime(nbits, pipe):
return
def getprime(nbits, poolsize):
- """Returns a prime number that can be stored in 'nbits' bits.
+ '''Returns a prime number that can be stored in 'nbits' bits.
Works in multiple threads at the same time.
@@ -58,7 +58,7 @@ def getprime(nbits, poolsize):
>>> common.bit_size(p) == 128
True
- """
+ '''
(pipe_recv, pipe_send) = mp.Pipe(duplex=False)