From 841514a3df744c496add69733ceaf840bbc30124 Mon Sep 17 00:00:00 2001 From: jumo Date: Wed, 10 Jul 2024 09:55:40 +0200 Subject: [PATCH] typo in doc --- docs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/README.md b/docs/README.md index d0f0425..b192cce 100644 --- a/docs/README.md +++ b/docs/README.md @@ -48,7 +48,7 @@ At the core of this module is the [TOML ArgumentParser](https://github.com/flor ```python import tomlparse parser = tomlparse.ArgumentParser() -parser.add_argument("--foo", type-int, default=0) +parser.add_argument("--foo", type=int, default=0) parser.add_argument("--bar", type=str, default="") parser.parse_args() ```