summaryrefslogtreecommitdiff
path: root/docutils/docutils/transforms
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-03-04 15:57:13 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-03-04 15:57:13 +0000
commite5094f5615d5ad1cce383dc79be7903c999378cf (patch)
treef410c36db4aec672d43a0afc8334a0ec18a437f1 /docutils/docutils/transforms
parent3a1aa9311e66f0c4919310a1c4fe3141f7360f74 (diff)
downloaddocutils-e5094f5615d5ad1cce383dc79be7903c999378cf.tar.gz
Ensure 2 blank lines around top-level functions and classes.
flake8 rules E302: expected 2 blank lines, found 1 E305: expected 2 blank lines after class or function definition git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9026 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/docutils/transforms')
-rw-r--r--docutils/docutils/transforms/peps.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/docutils/docutils/transforms/peps.py b/docutils/docutils/transforms/peps.py
index a8905cc67..ee3f38037 100644
--- a/docutils/docutils/transforms/peps.py
+++ b/docutils/docutils/transforms/peps.py
@@ -280,6 +280,7 @@ non_masked_addresses = ('peps@python.org',
'python-list@python.org',
'python-dev@python.org')
+
def mask_email(ref, pepno=None):
"""
Mask the email address in `ref` and return a replacement node.