Skip to content

Commit

Permalink
Fixed corrupted and unnecessary example docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
fluencydoc committed Dec 23, 2021
1 parent 0bc59cc commit a528233
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions patterns/dependency_injection.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@ def __init__(self):
self.time_provider = datetime.datetime.now
def get_current_time_as_html_fragment(self):
"""
Returns the current time as a string in 12-hour clock format with seconds and am/pm.
"""
"""
Returns the current time as a string in 12-hour clock format with seconds and am/pm.
"""
"""
Returns the current time as a string in 12-hour clock format with seconds and am/pm.
"""
current_time = self.time_provider()
current_time_as_html_fragment = "<span class=\"tinyBoldText\">{}</span>".format(current_time)
return current_time_as_html_fragment
Expand Down Expand Up @@ -70,15 +61,6 @@ def set_time_provider(self, time_provider: Callable):
self.time_provider = time_provider

def get_current_time_as_html_fragment(self):
"""
Returns the current time as a string in 12-hour clock format with seconds and am/pm.
"""
"""
Returns the current time as a string in 12-hour clock format with seconds and am/pm.
"""
"""
Returns the current time as a string in 12-hour clock format with seconds and am/pm.
"""
current_time = self.time_provider()
current_time_as_html_fragment = '<span class="tinyBoldText">{}</span>'.format(
current_time
Expand Down

0 comments on commit a528233

Please sign in to comment.