Skip to content

Commit 44fc4b9

Browse files
gh-157003: Add docstring for HTMLParser.flush() method.
1 parent 9c1e35f commit 44fc4b9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Doc/library/html.parser.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ The output will then be:
101101
:meth:`close` is called. *data* must be :class:`str`.
102102

103103

104+
.. method:: HTMLParser.flush()
105+
106+
Process all data fed insofar as it consists of complete elements. Incomplete
107+
data remains buffered.
108+
109+
104110
.. method:: HTMLParser.close()
105111

106112
Force processing of all buffered data as if it were followed by an end-of-file

0 commit comments

Comments
 (0)