buffer: Reorder the short_name property to make mypy happy.
This commit is contained in:
parent
ac5d1b823e
commit
0872948e9e
1 changed files with 4 additions and 4 deletions
|
@ -758,14 +758,14 @@ class WeechatChannelBuffer(object):
|
||||||
tags.append(SCRIPT_NAME + "_action")
|
tags.append(SCRIPT_NAME + "_action")
|
||||||
self._print_action(user, message, date, tags)
|
self._print_action(user, message, date, tags)
|
||||||
|
|
||||||
@property
|
|
||||||
def short_name(self):
|
|
||||||
return W.buffer_get_string(self._ptr, "short_name")
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def type(self):
|
def type(self):
|
||||||
return W.buffer_get_string(self._ptr, "localvar_type")
|
return W.buffer_get_string(self._ptr, "localvar_type")
|
||||||
|
|
||||||
|
@property
|
||||||
|
def short_name(self):
|
||||||
|
return W.buffer_get_string(self._ptr, "short_name")
|
||||||
|
|
||||||
@short_name.setter
|
@short_name.setter
|
||||||
def short_name(self, name):
|
def short_name(self, name):
|
||||||
W.buffer_set(self._ptr, "short_name", name)
|
W.buffer_set(self._ptr, "short_name", name)
|
||||||
|
|
Loading…
Reference in a new issue