Skip to content

Commit 459da91

Browse files
authored
Update decorator.py
add python2 compatibility
1 parent 1671517 commit 459da91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

structural/decorator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
Adds behaviour to object without affecting its class.
2828
"""
2929

30+
from __future__ import print_function
3031

3132
class TextTag(object):
3233
"""Represents a base text tag"""

0 commit comments

Comments
 (0)