File tree Expand file tree Collapse file tree
prodigiouspython/Chapter_8 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "cells" : [
3+ {
4+ "cell_type" : " markdown" ,
5+ "id" : " 945f8333-09ad-4b4e-b03e-cbe1cbaced57" ,
6+ "metadata" : {},
7+ "source" : [
8+ " # ClassMethod and StaticMethod"
9+ ]
10+ },
11+ {
12+ "cell_type" : " markdown" ,
13+ "id" : " 9c056145-cda0-4ef8-8b4d-41fd8bb93ba0" ,
14+ "metadata" : {},
15+ "source" : [
16+ " ## ClassMethod"
17+ ]
18+ },
19+ {
20+ "cell_type" : " markdown" ,
21+ "id" : " 38770d21-937b-4873-bcce-a93daeee1827" ,
22+ "metadata" : {},
23+ "source" : [
24+ " ## StaticMethod"
25+ ]
26+ },
27+ {
28+ "cell_type" : " markdown" ,
29+ "id" : " a3fdce0c-78e0-439c-93ea-610356bfc172" ,
30+ "metadata" : {},
31+ "source" : [
32+ " StaticMethods are simple regular functions but are within the namespace/scope of the class. "
33+ ]
34+ }
35+ ],
36+ "metadata" : {
37+ "kernelspec" : {
38+ "display_name" : " Python 3 (ipykernel)" ,
39+ "language" : " python" ,
40+ "name" : " python3"
41+ },
42+ "language_info" : {
43+ "codemirror_mode" : {
44+ "name" : " ipython" ,
45+ "version" : 3
46+ },
47+ "file_extension" : " .py" ,
48+ "mimetype" : " text/x-python" ,
49+ "name" : " python" ,
50+ "nbconvert_exporter" : " python" ,
51+ "pygments_lexer" : " ipython3" ,
52+ "version" : " 3.9.7"
53+ }
54+ },
55+ "nbformat" : 4 ,
56+ "nbformat_minor" : 5
57+ }
You can’t perform that action at this time.
0 commit comments