Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/turbohtml/migration/__init__.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

2 statements  

1""" 

2Drop-in compatibility shims for moving an existing codebase onto turbohtml. 

3 

4Each submodule mirrors the public API of the library it replaces, so a migration is an import 

5swap rather than a rewrite: :mod:`turbohtml.migration.bleach` for ``bleach``, 

6:mod:`turbohtml.migration.markupsafe` for ``markupsafe``, and :mod:`turbohtml.migration.stdlib` 

7for the standard library's :class:`html.parser.HTMLParser`. 

8""" 

9 

10from __future__ import annotations