Skip to content

Bug idea: print_return() #5

@roovyshapiro

Description

@roovyshapiro

New Bug Idea:
Change return statements into print statements.

  • replace the word return with print
  • insert quotation marks and parentheses in the beginning and end of the line
  • make sure the whitespace lines up.
  • optional: generate a new return statement with something like a string that says "ValueError" just to be confusing.

This is another good candidate for a logical error as the function will just return None, but the file won't be syntactically incorrect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions