Opened at 2023-02-14T16:19:20Z
Closed at 2023-02-16T00:09:23Z
#3975 closed defect (fixed)
Conditional that could always be truthy.
Reported by: | daniellee | Owned by: | daniellee |
---|---|---|---|
Priority: | minor | Milestone: | undecided |
Component: | code-frontend-web | Version: | n/a |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
While working with mypy. I came across an error that a conditional that checks for a type: if bytes. It does not specify the check on any variable or value.
Change History (1)
comment:1 Changed at 2023-02-16T00:09:23Z by GitHub <noreply@…>
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
In 32dc201/trunk: