From bcdf0cd2a97fa8dfb4cc06352faa0934ccbf236b Mon Sep 17 00:00:00 2001 From: Eli Collins Date: Fri, 27 Dec 2013 13:49:41 -0500 Subject: massive cleanup of documentation typos, thanks to Thomas Waldmann (issue 27, comment 7) (transplant of r1f5b8860b743 from default branch) --- docs/lib/passlib.context-tutorial.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/lib/passlib.context-tutorial.rst') diff --git a/docs/lib/passlib.context-tutorial.rst b/docs/lib/passlib.context-tutorial.rst index e3c3ee9..d63f87c 100644 --- a/docs/lib/passlib.context-tutorial.rst +++ b/docs/lib/passlib.context-tutorial.rst @@ -50,7 +50,7 @@ Tutorial / Walkthrough Basic Usage ----------- -At it's base, the :class:`!CryptContext` class is just a list of +At its base, the :class:`!CryptContext` class is just a list of :class:`~passlib.ifc.PasswordHash` objects, imported by name from the :mod:`passlib.hash` module. The following snippet creates a new context object which supports three hash algorithms @@ -179,8 +179,8 @@ could of course be done in one step:: This is not much more useful, since these settings still have to be hardcoded somewhere in the application. This is where the CryptContext's serialization abilities come into play. As a starting point, -every CryptContext object can dump it's configuration as a dictionary -suitable for passing back into it's constructor:: +every CryptContext object can dump its configuration as a dictionary +suitable for passing back into its constructor:: >>> myctx.to_dict() {'schemes': ['sha256_crypt', 'ldap_salted_md5'], -- cgit v1.2.1