Skip to content

Commit a528233

Browse files
authored
Fixed corrupted and unnecessary example docstrings
1 parent 0bc59cc commit a528233

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

patterns/dependency_injection.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,6 @@ def __init__(self):
1717
self.time_provider = datetime.datetime.now
1818
1919
def get_current_time_as_html_fragment(self):
20-
"""
21-
Returns the current time as a string in 12-hour clock format with seconds and am/pm.
22-
"""
23-
"""
24-
Returns the current time as a string in 12-hour clock format with seconds and am/pm.
25-
"""
26-
"""
27-
Returns the current time as a string in 12-hour clock format with seconds and am/pm.
28-
"""
2920
current_time = self.time_provider()
3021
current_time_as_html_fragment = "<span class=\"tinyBoldText\">{}</span>".format(current_time)
3122
return current_time_as_html_fragment
@@ -70,15 +61,6 @@ def set_time_provider(self, time_provider: Callable):
7061
self.time_provider = time_provider
7162

7263
def get_current_time_as_html_fragment(self):
73-
"""
74-
Returns the current time as a string in 12-hour clock format with seconds and am/pm.
75-
"""
76-
"""
77-
Returns the current time as a string in 12-hour clock format with seconds and am/pm.
78-
"""
79-
"""
80-
Returns the current time as a string in 12-hour clock format with seconds and am/pm.
81-
"""
8264
current_time = self.time_provider()
8365
current_time_as_html_fragment = '<span class="tinyBoldText">{}</span>'.format(
8466
current_time

0 commit comments

Comments
 (0)