summaryrefslogtreecommitdiff
path: root/django/test/html.py
diff options
context:
space:
mode:
authorAnton Samarchyan <anton.samarchyan@savoirfairelinux.com>2017-01-24 15:37:33 -0500
committerTim Graham <timograham@gmail.com>2017-03-04 10:02:06 -0500
commit86de930f413e0ad902e11d78ac988e6743202ea6 (patch)
tree790dcc4c38125b619ffee76b5531155d0d8232f4 /django/test/html.py
parent6ae1b04fb584db0fdb22b8e287784c4ed3ac62ac (diff)
Refs #27656 -- Updated remaining docstring verbs according to PEP 257.
Diffstat (limited to 'django/test/html.py')
-rw-r--r--django/test/html.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/django/test/html.py b/django/test/html.py
index 900aa3d3f0..726beb6e93 100644
--- a/django/test/html.py
+++ b/django/test/html.py
@@ -1,6 +1,4 @@
-"""
-Comparing two html documents.
-"""
+"""Compare two HTML documents."""
import re
@@ -214,7 +212,7 @@ class Parser(HTMLParser):
def parse_html(html):
"""
- Takes a string that contains *valid* HTML and turns it into a Python object
+ Take a string that contains *valid* HTML and turn it into a Python object
structure that can be easily compared against other HTML on semantic
equivalence. Syntactical differences like which quotation is used on
arguments will be ignored.