Show More
@@ -571,7 +571,9 b' class Pdb(OldPdb):' | |||
|
571 | 571 | return |
|
572 | 572 | type_value = args.strip().split(" ") |
|
573 | 573 | if len(type_value) != 2: |
|
574 | print("Usage: skip_predicates <type> <value>") | |
|
574 | print( | |
|
575 | f"Usage: skip_predicates <type> <value>, with <type> one of {set(self._predicates.keys())}" | |
|
576 | ) | |
|
575 | 577 | return |
|
576 | 578 | |
|
577 | 579 | type_, value = type_value |
@@ -580,7 +582,7 b' class Pdb(OldPdb):' | |||
|
580 | 582 | return |
|
581 | 583 | if value.lower() not in ("true", "yes", "1", "no", "false", "0"): |
|
582 | 584 | print( |
|
583 |
f"{ |
|
|
585 | f"{value!r} is invalid - use one of ('true', 'yes', '1', 'no', 'false', '0')" | |
|
584 | 586 | ) |
|
585 | 587 | return |
|
586 | 588 |
General Comments 0
You need to be logged in to leave comments.
Login now