__cached__
Dunder AttributePython 2.0+Advanced
Path to the compiled bytecode (.pyc) file of the module
Quick Info
- Documentation
- Official Docs
- Python Version
- 2.0+
Learn by Difficulty
Quick Example
python
# __cached__ print("Demonstrating __cached__") print(type(object).__dict__.keys())
__cached__ is a special attribute that path to the compiled bytecode (.pyc) file of the module.
Try in PlaygroundTags
oopintrospectioncore