diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2013-12-27 13:49:41 -0500 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2013-12-27 13:49:41 -0500 |
| commit | bcdf0cd2a97fa8dfb4cc06352faa0934ccbf236b (patch) | |
| tree | 36c3549889c3d8bf8f531b30bb588920c23cc681 /docs/lib/passlib.context-tutorial.rst | |
| parent | 10ddd0c4bf75c21bdd75a3cb0781f020147778b3 (diff) | |
| download | passlib-bcdf0cd2a97fa8dfb4cc06352faa0934ccbf236b.tar.gz | |
massive cleanup of documentation typos, thanks to Thomas Waldmann (issue 27, comment 7) (transplant of r1f5b8860b743 from default branch)
Diffstat (limited to 'docs/lib/passlib.context-tutorial.rst')
| -rw-r--r-- | docs/lib/passlib.context-tutorial.rst | 6 |
1 files changed, 3 insertions, 3 deletions
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'], |
