Skip to content

Commit 71c37a1

Browse files
re-add removed line, remove(revert) return type annotation
1 parent a87f3cf commit 71c37a1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Lib/_colorize.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ class Unittest(ThemeSection):
425425
fail_info: str = ANSIColors.BOLD_RED
426426
reset: str = ANSIColors.RESET
427427

428+
428429
@dataclass(frozen=True, kw_only=True)
429430
class Theme:
430431
"""A suite of themes for all sections of Python.

Lib/dis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ def print_instruction(self, instr, mark_as_current=False):
481481
False, None, None, instr.positions),
482482
False)
483483

484-
def print_instruction_line(self, instr, mark_as_current) -> None:
484+
def print_instruction_line(self, instr, mark_as_current):
485485
"""Format instruction details for inclusion in disassembly output."""
486486
theme = get_dis_theme()
487487
lineno_width = self.lineno_width

0 commit comments

Comments
 (0)