We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef4e73c commit 43bbf78Copy full SHA for 43bbf78
patterns/behavioral/command.py
@@ -77,7 +77,7 @@ def undo(self):
77
if len(self._deleted_files) > 0:
78
filename = self._deleted_files.pop()
79
80
- print(f'un-deleting {filename}')
+ print(f'restoring {filename}')
81
82
os.rename(f'{self._deleted_files_path}/{filename}', filename)
83
@@ -115,9 +115,9 @@ def main():
115
>>> item2.on_do_press(test_file_name)
116
test-file does not exists to hide
117
118
- # un-deleting `test-file`
+ # restoring `test-file`
119
>>> item1.on_undo_press()
120
- un-deleting test-file
+ restoring test-file
121
122
# hiding `test-file`
123
0 commit comments