Skip to content

Commit f1496ea

Browse files
committed
Clipboard: update extremely old docs
1 parent 5b887a7 commit f1496ea

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

kivy/core/clipboard/__init__.py

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,10 @@
88
Usage example::
99
1010
>>> from kivy.core.clipboard import Clipboard
11-
>>> Clipboard.get_types()
12-
['TIMESTAMP', 'TARGETS', 'MULTIPLE', 'SAVE_TARGETS', 'UTF8_STRING',
13-
'COMPOUND_TEXT', 'TEXT', 'STRING', 'text/plain;charset=utf-8',
14-
'text/plain']
15-
>>> Clipboard.get('TEXT')
16-
'Hello World'
17-
>>> Clipboard.put('Great', 'UTF8_STRING')
18-
>>> Clipboard.get_types()
19-
['UTF8_STRING']
20-
>>> Clipboard.get('UTF8_STRING')
21-
'Great'
22-
23-
.. note:: The main implementation relies on Pygame and works well with
24-
text/strings. Anything else might not work the same on all platforms.
11+
>>> Clipboard.copy('data')
12+
>>> Clipboard.paste()
13+
'data'
14+
2515
'''
2616

2717
__all__ = ('ClipboardBase', 'Clipboard')

0 commit comments

Comments
 (0)