Skip to content

Commit c91c7b5

Browse files
fixup! Fixes algorithm-archivists#141: removes support for python 2
1 parent 043b752 commit c91c7b5

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

chapters/euclidean_algorithm/euclidean.md

+1-1
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

+3-12
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:12-15, lang:"javascript"](code/javascript/tree.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)
@@ -75,10 +72,7 @@ This has not been implemented in your chosen language, so here is the Julia code
7572
[import:47-53, lang:"c_cpp"](code/c/tree_traversal.c)
7673
{% sample lang="js" %}
7774
[import:17-20, lang:"javascript"](code/javascript/tree.js)
78-
{% sample lang="py2" %}
79-
This has not been implemented in your chosen language, so here is the Julia code
80-
[import:18-26, lang:"julia"](code/julia/Tree.jl)
81-
{% sample lang="py3" %}
75+
{% sample lang="py" %}
8276
This has not been implemented in your chosen language, so here is the Julia code
8377
[import:18-26, lang:"julia"](code/julia/Tree.jl)
8478
{% sample lang="scratch" %}
@@ -109,10 +103,7 @@ This has not been implemented in your chosen language, so here is the Julia code
109103
[import:55-73, lang:"c_cpp"](code/c/tree_traversal.c)
110104
{% sample lang="js" %}
111105
[import:22-34, lang:"javascript"](code/javascript/tree.js)
112-
{% sample lang="py2" %}
113-
This has not been implemented in your chosen language, so here is the Julia code
114-
[import:28-43, lang:"julia"](code/julia/Tree.jl)
115-
{% sample lang="py3" %}
106+
{% sample lang="py" %}
116107
This has not been implemented in your chosen language, so here is the Julia code
117108
[import:28-43, lang:"julia"](code/julia/Tree.jl)
118109
{% sample lang="scratch" %}

0 commit comments

Comments
 (0)