Skip to content

Commit be88a36

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2f33bdb commit be88a36

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

toml/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
__all__ = [
1414
"TOMLError",
15-
"loads",
16-
"load",
17-
"dumps",
1815
"dump",
16+
"dumps",
17+
"load",
18+
"loads",
1919
]

toml/_toml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def try_int(cls, string: str) -> int | None:
330330
"b": 2,
331331
"o": 8,
332332
"x": 16,
333-
}.get(string[1], None)
333+
}.get(string[1])
334334

335335
if base is None:
336336
msg = "Invalid number."

0 commit comments

Comments
 (0)