# Python vocabulary: Master level

20 Python terms at the Master level, each with a short definition and a link to its full page.

Updated: November 19, 2026

[Study these as flash cards](https://www.ask-codey.com/decks/python/master)

- [\_\_init_subclass\_\_](https://www.ask-codey.com/glossary/init-subclass): Runs whenever a class inherits from yours; handy for tracking child classes.
- [\_\_new\_\_](https://www.ask-codey.com/glossary/new): Creates the object itself, just before \_\_init\_\_ fills it in.
- [\_\_slots\_\_](https://www.ask-codey.com/glossary/slots): Lists the only attributes a class's objects may have, saving memory.
- [Attribute Lookup (\_\_getattr\_\_)](https://www.ask-codey.com/glossary/attribute-lookup-getattr): Runs when code asks for an attribute that doesn't exist.
- [Bytecode](https://www.ask-codey.com/glossary/bytecode): The simpler instructions Python turns your code into before running it.
- [Class Decorator](https://www.ask-codey.com/glossary/class-decorator): A decorator placed on a class to change or register the whole class.
- [Context Variable (contextvars)](https://www.ask-codey.com/glossary/context-variable-contextvars): A value that belongs to the current task, so async tasks do not mix up values.
- [CPython](https://www.ask-codey.com/glossary/cpython): The standard Python you download from python.org, written in C.
- [Data Model](https://www.ask-codey.com/glossary/data-model): The dunder methods that let your objects work with len(), +, for and more.
- [Descriptor](https://www.ask-codey.com/glossary/descriptor): An object that controls reading and setting an attribute; the machinery behind @property.
- [Event Loop](https://www.ask-codey.com/glossary/event-loop): The asyncio engine that switches between tasks whenever one is waiting.
- [Garbage Collector](https://www.ask-codey.com/glossary/garbage-collector): Frees memory reference counting misses, like objects pointing only at each other.
- [Global Interpreter Lock (GIL)](https://www.ask-codey.com/glossary/global-interpreter-lock-gil): Lets only one thread run Python code at a time in standard Python.
- [Interning](https://www.ask-codey.com/glossary/interning): Python keeps one shared copy of some values, like small numbers and short strings.
- [Introspection (inspect)](https://www.ask-codey.com/glossary/introspection-inspect): A program looking at itself while it runs: types, attributes, function arguments.
- [Metaclass](https://www.ask-codey.com/glossary/metaclass): The class that builds classes, mostly used inside frameworks.
- [Method Resolution Order (MRO)](https://www.ask-codey.com/glossary/method-resolution-order-mro): The order Python searches classes to find a method.
- [Monkey Patching](https://www.ask-codey.com/glossary/monkey-patching): Replacing a function or method while the program runs.
- [Reference Counting](https://www.ask-codey.com/glossary/reference-counting): Python counts what points to an object and frees it when the count hits zero.
- [Weak Reference](https://www.ask-codey.com/glossary/weak-reference): Points to an object without keeping it alive.

- Previous level: [Freelancer](https://www.ask-codey.com/glossary/subjects/python/freelancer)

[Every Python term, by level](https://www.ask-codey.com/glossary/subjects/python)

Source: https://www.ask-codey.com/glossary/subjects/python/master
