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

9 lines
170 B
Plaintext

# -*- mode: snippet -*-
# name: __new__
# key: new
# group: dunder methods
# --
def __new__(mcs, name, bases, dct):
$0
return type.__new__(mcs, name, bases, dct)