From 9ed312baba7f4024d207a5fc56c3050b8d55b227 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 12 Oct 2015 20:51:34 -0700 Subject: use :returns: and put annotation in the correct place --- docs/x509/reference.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/x509') diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst index c8c58efb..15078e9d 100644 --- a/docs/x509/reference.rst +++ b/docs/x509/reference.rst @@ -503,8 +503,6 @@ X.509 Certificate Builder handled by whoever reads the certificate. .. method:: sign(private_key, algorithm, backend) - - :type: :class:`~cryptography.x509.Certificate` Sign the certificate using the CA's private key. @@ -522,6 +520,8 @@ X.509 Certificate Builder Must support the :class:`~cryptography.hazmat.backends.interfaces.X509Backend` interface. + + :returns: :class:`~cryptography.x509.Certificate` X.509 CSR (Certificate Signing Request) Object -- cgit v1.2.3