Skip to content

Commit 9fea73d

Browse files
committed
Observer code minor modification
1 parent 8001d4c commit 9fea73d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

behavioral/observer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ def data(self, value):
4646
class HexViewer:
4747

4848
def update(self, subject):
49-
print('HexViewer: Subject %s has data 0x%x' %
49+
print(u'HexViewer: Subject %s has data 0x%x' %
5050
(subject.name, subject.data))
5151

5252

5353
class DecimalViewer:
5454

5555
def update(self, subject):
56-
print('DecimalViewer: Subject %s has data %d' %
56+
print(u'DecimalViewer: Subject %s has data %d' %
5757
(subject.name, subject.data))
5858

5959

0 commit comments

Comments
 (0)