Improve completion-item-yank documentation.

This commit is contained in:
Ryan Roden-Corrent 2017-11-06 07:34:31 -05:00
parent db3b1aee0d
commit c74cb22374

View File

@ -381,10 +381,10 @@ class CompletionView(QTreeView):
@cmdutils.register(instance='completion', hide=True,
modes=[usertypes.KeyMode.command], scope='window')
def completion_item_yank(self, sel=False):
"""Yank the current completion item onto the clipboard.
"""Yank the current completion item into the clipboard.
Args:
sel: True to use the primary selection instead of the clipboard.
sel: Use the primary selection instead of the clipboard.
"""
index = self.currentIndex()
if not index.isValid():