Replace YanRing with yank-stack and update plugins
This commit is contained in:
1 parent
2ca843a22a
commit
53894de44b
72 files changed
+1663
-5015
No files matched your search
@@ -216,7 +216,9 @@ def write_init_body(args, parents, snip):
|
||||
|
||||
|
||||
def write_slots_args(args, snip):
|
||||
args = ['"_%s"' % arg for arg in args]
|
||||
quote = get_quoting_style(snip)
|
||||
arg_format = quote + '_%s' + quote
|
||||
args = [arg_format % arg for arg in args]
|
||||
snip += '__slots__ = (%s,)' % ', '.join(args)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user