Skip to content

Commit 35671ff

Browse files
fixup! Fixes #141: removes support for python 2
1 parent 642cf1f commit 35671ff

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

chapters/euclidean_algorithm/euclidean.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Program.cs
8787
{% sample lang="js" %}
8888
### JavaScript
8989
[import, lang="javascript"](code/javascript/euclidean_example.js)
90-
{% sample lang="py2" %}
90+
{% sample lang="py" %}
9191
### Python
9292
[import, lang="python"](code/python/euclidean_example.py)
9393
{% sample lang="haskell" %}

chapters/tree_traversal/tree_traversal.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,8 @@ Because of this, the most straightforward way to traverse the tree might be recu
3838
[import:37-45, lang:"c_cpp"](code/c/tree_traversal.c)
3939
{% sample lang="js" %}
4040
[import:15-23, lang:"javascript"](code/javascript/Tree_example.js)
41-
{% sample lang="py2" %}
41+
{% sample lang="py" %}
4242
[import:7-15, lang:"python"](code/python/Tree_example.py)
43-
{% sample lang="py3" %}
44-
This has not been implemented in your chosen language, so here is the Julia code
45-
[import:9-16, lang:"julia"](code/julia/Tree.jl)
4643
{% sample lang="scratch" %}
4744
This has not been implemented in your chosen language, so here is the Julia code
4845
[import:9-16, lang:"julia"](code/julia/Tree.jl)
@@ -76,10 +73,7 @@ This has not been implemented in your chosen language, so here is the Julia code
7673
{% sample lang="js" %}
7774
This has not been implemented in your chosen language, so here is the Julia code
7875
[import:18-26, lang:"julia"](code/julia/Tree.jl)
79-
{% sample lang="py2" %}
80-
This has not been implemented in your chosen language, so here is the Julia code
81-
[import:18-26, lang:"julia"](code/julia/Tree.jl)
82-
{% sample lang="py3" %}
76+
{% sample lang="py" %}
8377
This has not been implemented in your chosen language, so here is the Julia code
8478
[import:18-26, lang:"julia"](code/julia/Tree.jl)
8579
{% sample lang="scratch" %}
@@ -111,10 +105,7 @@ This has not been implemented in your chosen language, so here is the Julia code
111105
{% sample lang="js" %}
112106
This has not been implemented in your chosen language, so here is the Julia code
113107
[import:28-43, lang:"julia"](code/julia/Tree.jl)
114-
{% sample lang="py2" %}
115-
This has not been implemented in your chosen language, so here is the Julia code
116-
[import:28-43, lang:"julia"](code/julia/Tree.jl)
117-
{% sample lang="py3" %}
108+
{% sample lang="py" %}
118109
This has not been implemented in your chosen language, so here is the Julia code
119110
[import:28-43, lang:"julia"](code/julia/Tree.jl)
120111
{% sample lang="scratch" %}

0 commit comments

Comments
 (0)