summaryrefslogtreecommitdiff
path: root/src/mailman/model/docs
diff options
context:
space:
mode:
authorBarry Warsaw2014-12-14 14:11:28 -0500
committerBarry Warsaw2014-12-14 14:11:28 -0500
commit994fdcdab09c9388b027f3c2abc083bef0889dc5 (patch)
treea9b3b4f5e967bfb455af17c93b2eca4a5daa815e /src/mailman/model/docs
parentbdc9795891a6df7e1ae61204d0640339cf48ebee (diff)
downloadmailman-994fdcdab09c9388b027f3c2abc083bef0889dc5.tar.gz
mailman-994fdcdab09c9388b027f3c2abc083bef0889dc5.tar.zst
mailman-994fdcdab09c9388b027f3c2abc083bef0889dc5.zip
Fix pending.rst.
NOTE NOTE NOTE: This is a potential upgrade issue. The values in the pending database used to be either custom pickle-like objects or actual pickles. Now all values are JSON representations.
Diffstat (limited to 'src/mailman/model/docs')
-rw-r--r--src/mailman/model/docs/pending.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mailman/model/docs/pending.rst b/src/mailman/model/docs/pending.rst
index d8206b264..a634322a1 100644
--- a/src/mailman/model/docs/pending.rst
+++ b/src/mailman/model/docs/pending.rst
@@ -33,12 +33,12 @@ token that can be used in urls and such.
>>> len(token)
40
-There's not much you can do with tokens except to `confirm` them, which
-basically means returning the ``IPendable`` structure (as a dictionary) from
-the database that matches the token. If the token isn't in the database, None
-is returned.
+There's not much you can do with tokens except to *confirm* them, which
+basically means returning the `IPendable` structure (as a dictionary) from the
+database that matches the token. If the token isn't in the database, None is
+returned.
- >>> pendable = pendingdb.confirm(bytes('missing'))
+ >>> pendable = pendingdb.confirm(b'missing')
>>> print(pendable)
None
>>> pendable = pendingdb.confirm(token)