Skip to content

Commit 89a4f3d

Browse files
author
Waylan Limberg
committed
Cleaned up markdown namespace. This may be a backward incompatible change for some extensions. They should be importing from markdown.util
1 parent ca145d4 commit 89a4f3d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

markdown/__init__.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,9 @@
4545
from extensions import Extension
4646
from searializers import to_html_string, to_xhtml_string
4747

48-
# For backwards compatibility in the 2.0.x series
49-
# The things defined in these modules started off in __init__.py so third
50-
# party code might need to access them here.
51-
from util import *
48+
__all__ = ['Markdown', 'markdown', 'markdownFromFile']
5249

53-
logger = logging.getLogger('MARKDOWN')
50+
logger = logging.getLogger('MARKDOWN')
5451

5552

5653
class Markdown:

0 commit comments

Comments
 (0)