class documentation

class RenameMethodsBase(type): (source)

View In Hierarchy

Handles the deprecation paths when renaming a method. It does the following: 1) Define the new method if missing and complain about it. 2) Define the old method if missing. 3) Complain whenever an old method is called. See #15363 for more details.

Method __new__ Undocumented
Class Variable renamed_methods Undocumented
def __new__(cls, name, bases, attrs): (source)

Undocumented

renamed_methods: tuple = (source)

Undocumented