pylint-bot / test

0 stars 0 forks source link

Understand object.__new__ decorator #172

Open pylint-bot opened 8 years ago

pylint-bot commented 8 years ago

Originally reported by: Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore?)


The object.new decorator creates an instance under the hood.

#!python

@object.__new__
class A:
   pass

A #@