cmd2 2.5.10__py3-none-any.whl → 2.6.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
cmd2/clipboard.py CHANGED
@@ -1,7 +1,4 @@
1
- # coding=utf-8
2
- """
3
- This module provides basic ability to copy from and paste to the clipboard/pastebuffer.
4
- """
1
+ """Module provides basic ability to copy from and paste to the clipboard/pastebuffer."""
5
2
 
6
3
  import typing
7
4
 
@@ -13,8 +10,7 @@ def get_paste_buffer() -> str:
13
10
 
14
11
  :return: contents of the clipboard
15
12
  """
16
- pb_str = typing.cast(str, pyperclip.paste())
17
- return pb_str
13
+ return typing.cast(str, pyperclip.paste())
18
14
 
19
15
 
20
16
  def write_to_paste_buffer(txt: str) -> None: