Skip to content

Commit d1506da

Browse files
committed
Change header levels
1 parent 2c8e4ee commit d1506da

File tree

1 file changed

+19
-25
lines changed

1 file changed

+19
-25
lines changed

source-code/object-orientation/oo_programming.ipynb

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,17 @@
11
{
22
"cells": [
3-
{
4-
"cell_type": "markdown",
5-
"metadata": {},
6-
"source": [
7-
"# Object oriented programming"
8-
]
9-
},
103
{
114
"cell_type": "markdown",
125
"metadata": {
136
"heading_collapsed": true
147
},
158
"source": [
16-
"## Import modules"
9+
"# Import modules"
1710
]
1811
},
1912
{
2013
"cell_type": "code",
21-
"execution_count": 1,
14+
"execution_count": null,
2215
"metadata": {
2316
"ExecuteTime": {
2417
"end_time": "2018-06-25T16:12:27.530982Z",
@@ -38,7 +31,7 @@
3831
"heading_collapsed": true
3932
},
4033
"source": [
41-
"## Simple class definitions"
34+
"# Simple class definitions"
4235
]
4336
},
4437
{
@@ -272,7 +265,7 @@
272265
"heading_collapsed": true
273266
},
274267
"source": [
275-
"## Accessing attributes: getters and setters"
268+
"# Accessing attributes: getters and setters"
276269
]
277270
},
278271
{
@@ -446,7 +439,7 @@
446439
"heading_collapsed": true
447440
},
448441
"source": [
449-
"## Constructor and string representation"
442+
"# Constructor and string representation"
450443
]
451444
},
452445
{
@@ -581,7 +574,7 @@
581574
"heading_collapsed": true
582575
},
583576
"source": [
584-
"## Non-basic getters/setters"
577+
"# Non-basic getters/setters"
585578
]
586579
},
587580
{
@@ -785,7 +778,7 @@
785778
"heading_collapsed": true
786779
},
787780
"source": [
788-
"## Interface versus implementation"
781+
"# Interface versus implementation"
789782
]
790783
},
791784
{
@@ -1180,7 +1173,7 @@
11801173
"heading_collapsed": true
11811174
},
11821175
"source": [
1183-
"## Inheritance"
1176+
"# Inheritance"
11841177
]
11851178
},
11861179
{
@@ -1413,7 +1406,7 @@
14131406
"heading_collapsed": true
14141407
},
14151408
"source": [
1416-
"## Static and class methods, class attributes"
1409+
"# Static and class methods, class attributes"
14171410
]
14181411
},
14191412
{
@@ -1701,7 +1694,7 @@
17011694
"heading_collapsed": true
17021695
},
17031696
"source": [
1704-
"## Introspection"
1697+
"# Introspection"
17051698
]
17061699
},
17071700
{
@@ -2382,7 +2375,7 @@
23822375
"cell_type": "markdown",
23832376
"metadata": {},
23842377
"source": [
2385-
"## Using `__slots__`"
2378+
"# Using `__slots__`"
23862379
]
23872380
},
23882381
{
@@ -2643,7 +2636,7 @@
26432636
"name": "stdout",
26442637
"output_type": "stream",
26452638
"text": [
2646-
"2.1 µs ± 466 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)\n"
2639+
"623 ns ± 115 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)\n"
26472640
]
26482641
}
26492642
],
@@ -2665,7 +2658,7 @@
26652658
"name": "stdout",
26662659
"output_type": "stream",
26672660
"text": [
2668-
"922 ns ± 169 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)\n"
2661+
"900 ns ± 179 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)\n"
26692662
]
26702663
}
26712664
],
@@ -2689,7 +2682,7 @@
26892682
"name": "stdout",
26902683
"output_type": "stream",
26912684
"text": [
2692-
"747 µs ± 169 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)\n"
2685+
"1.08 ms ± 440 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)\n"
26932686
]
26942687
}
26952688
],
@@ -2710,7 +2703,7 @@
27102703
"name": "stdout",
27112704
"output_type": "stream",
27122705
"text": [
2713-
"1.67 ms ± 666 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)\n"
2706+
"883 µs ± 127 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)\n"
27142707
]
27152708
}
27162709
],
@@ -2728,7 +2721,7 @@
27282721
"heading_collapsed": true
27292722
},
27302723
"source": [
2731-
"## Wrapper classes or derivation by extension"
2724+
"# Wrapper classes or derivation by extension"
27322725
]
27332726
},
27342727
{
@@ -3008,8 +3001,9 @@
30083001
"name": "python",
30093002
"nbconvert_exporter": "python",
30103003
"pygments_lexer": "ipython3",
3011-
"version": "3.7.5"
3012-
}
3004+
"version": "3.7.9"
3005+
},
3006+
"toc-autonumbering": true
30133007
},
30143008
"nbformat": 4,
30153009
"nbformat_minor": 4

0 commit comments

Comments
 (0)