Custom syntactic sugar for Python. Investigating how to do it.
Creating or learning to use a decorator-like notation (markup?) for tying a different supporting file, or just extracting stuff from the bottom of a file, with fragment links to the original docs, as well as original source code line permalink, to make it easier to dig straight in and see what options there are and how the code is going to behave in different conditions.
Asked ChatGPT about decorators in Python
ddg:
python decorator
ddg:
python decorating lines of code
Found these
- https://www.udacity.com/blog/2020/12/our-guide-to-python-decorators.html
- https://stackoverflow.com/questions/51077539/decorator-like-syntax-for-a-specific-line-of-code
Started this repo! โจ๐