From 2eb84ade11f0eaa6a916619ad464cb9373d35809 Mon Sep 17 00:00:00 2001 From: "Yilei \"Dolee\" Yang" Date: Tue, 12 Apr 2022 12:43:19 -0700 Subject: [PATCH] Fix the encoder/decoder pyi files where they are missing the imports from typing. --- toml/decoder.pyi | 2 +- toml/encoder.pyi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/toml/decoder.pyi b/toml/decoder.pyi index 967d3dd..cc9e416 100644 --- a/toml/decoder.pyi +++ b/toml/decoder.pyi @@ -1,5 +1,5 @@ from toml.tz import TomlTz as TomlTz -from typing import Any, Optional +from typing import Any, IO, MutableMapping, Optional, Type, Union unicode = str basestring = str diff --git a/toml/encoder.pyi b/toml/encoder.pyi index 194a358..19600bf 100644 --- a/toml/encoder.pyi +++ b/toml/encoder.pyi @@ -1,5 +1,5 @@ from toml.decoder import InlineTableDict as InlineTableDict -from typing import Any, Optional +from typing import Any, IO, Mapping, Optional unicode = str