Skip to content

Commit

Permalink
Add 2 new keyword, since Python 3.7 (#5)
Browse files Browse the repository at this point in the history
Keyword:
* async
* await
  • Loading branch information
kryskool authored and leighmcculloch committed Sep 21, 2018
1 parent d74b3c3 commit 3d15565
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ A list and count of keywords in programming languages.
│ ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... │
│...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... │
│...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... │
│..25.. ..26.. ..32.. ..33.. ..36.. ..51.. ..52.. ..54.. ..89.. .100.. .109.. │
│..25.. ..26.. ..32.. ..35.. ..36.. ..51.. ..52.. ..54.. ..89.. .100.. .109.. │
│Go Erlang C Python Ruby Java Rust Dart Swift C# C++ │
└─────────────────────────────────────────────────────────────────────────────┘

Expand Down Expand Up @@ -60,15 +60,15 @@ continue for signed void default
goto sizeof volatile do if
static while

### Python (33 keywords)
### Python (35 keywords)

False class finally is return
None continue for lambda try
True def from nonlocal while
and del global not with
as elif if or yield
assert else import pass break
except in raise
False await else import pass
None break except in raise
True class finally is return
and continue for lambda try
as def from nonlocal while
assert del global not with
async elif if or yield

### Ruby (36 keywords)

Expand Down
2 changes: 1 addition & 1 deletion chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import "github.com/gizak/termui"

var labels = []string{"Go", "Erlang", "C", "Python", "Ruby", "Java", "Rust", "Dart", "Swift", "C#", "C++"}
var values = []int{25, 26, 32, 33, 36, 51, 52, 54, 89, 100, 109}
var values = []int{25, 26, 32, 35, 36, 51, 52, 54, 89, 100, 109}

func main() {
if err := termui.Init(); err != nil {
Expand Down

0 comments on commit 3d15565

Please sign in to comment.