diff options
| author | Barry Warsaw | 2015-04-14 12:46:11 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2015-04-14 12:46:11 -0400 |
| commit | 2787473f0bd4ca3efeadb7f44c8f61c3695e7ecd (patch) | |
| tree | 4ba9e86dd16b53c623410e66c459dc394008b698 /src/mailman/interfaces/pending.py | |
| parent | 24c01dbd8e93acdc61884b3b9783a0e71fd6df23 (diff) | |
| download | mailman-2787473f0bd4ca3efeadb7f44c8f61c3695e7ecd.tar.gz mailman-2787473f0bd4ca3efeadb7f44c8f61c3695e7ecd.tar.zst mailman-2787473f0bd4ca3efeadb7f44c8f61c3695e7ecd.zip | |
Diffstat (limited to 'src/mailman/interfaces/pending.py')
| -rw-r--r-- | src/mailman/interfaces/pending.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/interfaces/pending.py b/src/mailman/interfaces/pending.py index 09c8b44cb..7420fcdb2 100644 --- a/src/mailman/interfaces/pending.py +++ b/src/mailman/interfaces/pending.py @@ -82,11 +82,11 @@ class IPendings(Interface): :return: A token string for inclusion in urls and email confirmations. """ - def confirm(token, expunge=True): + def confirm(token, *, expunge=True): """Return the IPendable matching the token. :param token: The token string for the IPendable given by the `.add()` - method. + method, or None if there is no record associated with the token. :param expunge: A flag indicating whether the pendable record should also be removed from the database or not. :return: The matching IPendable or None if no match was found. |
