Skip to content

Commit 2a07c0f

Browse files
committed
docs: ignore experiments module. use microsoft python image. add PEP-0008 and packaging guide
1 parent e261342 commit 2a07c0f

File tree

4 files changed

+20
-17
lines changed

4 files changed

+20
-17
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,3 +163,4 @@ cython_debug/
163163
.vscode
164164

165165
tools/
166+
experiments/

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11
1+
FROM mcr.microsoft.com/devcontainers/python:3.11
22

33
WORKDIR /python
44

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
- [standard library reference](https://docs.python.org/3.11/library/index.html)
2020
- [packaging and distribution](https://packaging.python.org/en/latest/)
2121
- [python packaging authority](https://www.pypa.io/en/latest/)
22+
- https://the-hitchhikers-guide-to-packaging.readthedocs.io/en/latest/
2223
- [glossary](https://packaging.python.org/en/latest/glossary/)
2324
- tools:
2425
- [pip](https://pypi.org/project/pip/)
@@ -39,6 +40,7 @@
3940

4041
## Use Cases
4142
- [Applications of Python](https://www.python.org/about/apps/)
43+
- [Style Guide](https://peps.python.org/pep-0008/)
4244

4345
## Learning Resources
4446
- [roadmap](https://roadmap.sh/python)

src/8_compound_statements/8.7._function_definitions/decorator.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
"""
2-
def decorators:
3-
- formal: 𝑓: 𝑓 ↦ any
2+
def decorators:
3+
- formal: 𝑓: 𝑓 ↦ Modified[𝑓]
44
5-
- in words: a high order function to modify and execute functions/methods
5+
- in words: a high order function to modify and execute functions/methods
66
7-
- plain english: syntactic sugar for invoking a high order function directly and returning the parameter function's result.
7+
- plain english: syntactic sugar for invoking a high order function directly and returning the parameter function's result.
88
9-
- intuition: ???
9+
- intuition: ???
1010
11-
- properties:
12-
- specification: https://peps.python.org/pep-0318/
11+
- properties:
12+
- specification: https://peps.python.org/pep-0318/
1313
14-
- examples:
15-
- see function runtime tracker below: def timed
14+
- examples:
15+
- see function runtime tracker below: def timed
1616
17-
- use cases:
18-
- aspect orientated programming:
19-
- logging
20-
21-
- proof: ???
22-
23-
References: ???
17+
- use cases:
18+
- aspect orientated programming:
19+
- logging
20+
21+
- proof: ???
22+
23+
References: ???
2424
"""
2525

2626
import time

0 commit comments

Comments
 (0)