brainbaking/content/wiki/code/python/meta.md

23 lines
666 B
Markdown
Raw Normal View History

2017-02-26 13:28:18 +01:00
+++
title = "meta"
draft = false
tags = [
"code",
"python",
"meta"
]
date = "2014-03-14"
+++
# Metaprogramming
Zie ook [code/python/classes]({{< relref "wiki/code/python/classes.md" >}})
### type, the metaclass of a class
Resources:
* [Python metaclasses by example](http://eli.thegreenplace.net/2011/08/14/python-metaclasses-by-example/)
* [Extremely detailed, stackoverflow: what is a metaclass in python](http://stackoverflow.com/questions/100003/what-is-a-metaclass-in-python/100037#100037)
* [Improve your python with metaclasses](http://www.jeffknupp.com/blog/2013/12/28/improve-your-python-metaclasses-and-dynamic-classes-with-type/)