Skip to content

Commit 1916d28

Browse files
committed
Add type annotations
1 parent dec96ef commit 1916d28

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bpython/config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ def default_editor() -> str:
7575
return os.environ.get("VISUAL", os.environ.get("EDITOR", "vi"))
7676

7777

78-
def fill_config_with_default_values(config, default_values):
78+
def fill_config_with_default_values(
79+
config: ConfigParser, default_values: Mapping[str, Mapping[str, Any]]
80+
) -> None:
7981
for section in default_values.keys():
8082
if not config.has_section(section):
8183
config.add_section(section)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy