The Python Oracle

How do I disallow a classmethod from being called on an instance?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Mysterious Puzzle

--

Chapters
00:00 How Do I Disallow A Classmethod From Being Called On An Instance?
00:56 Accepted Answer Score 5
03:21 Answer 2 Score 0
03:53 Thank you

--

Full question
https://stackoverflow.com/questions/4232...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #classmethod #peewee #cpython

#avk47