From 19ab97d72fecc686e9f8f152d05d81fa7a7a14a8 Mon Sep 17 00:00:00 2001 From: Brian Thorne Date: Wed, 8 Feb 2017 14:53:18 +1100 Subject: [PATCH] Update version and docs --- docs/conf.py | 4 ++-- phe/paillier.py | 4 ++-- setup.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index f547244..c1d6f85 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -95,9 +95,9 @@ def __getattr__(cls, name): # built documents. # # The short X.Y version. -version = '1.1' +version = '1.3' # The full version, including alpha/beta/rc tags. -release = '1.2.2' +release = '1.3.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/phe/paillier.py b/phe/paillier.py index 216c81f..3ab1425 100644 --- a/phe/paillier.py +++ b/phe/paillier.py @@ -239,12 +239,12 @@ def from_totient(public_key, totient): and the modulus is defined as modulus = p * q Args: - public_key (:class `PaillierPublicKey`): The corresponding public + public_key (PaillierPublicKey): The corresponding public key totient (int): the totient of the modulus Returns: - the PaillierPrivateKey that corresponds to the inputs + the :class:`PaillierPrivateKey` that corresponds to the inputs Raises: ValueError: if the given totient is not the totient of the modulus diff --git a/setup.py b/setup.py index 40c754f..519211f 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ def find_version(): # Note the version is also in the docs/conf.py file # We use semantic versioning - semver.org - return "1.2.3" + return "1.3.0" setup(