dotfiles/.emacs.d/snippets/python-mode/__new__

9 lines
170 B
Plaintext
Raw Normal View History

2017-12-21 17:29:29 +01:00
# -*- mode: snippet -*-
# name: __new__
# key: new
# group: dunder methods
# --
def __new__(mcs, name, bases, dct):
$0
return type.__new__(mcs, name, bases, dct)