Skip to content

Minor mistake in Code of 7.1-exception.ipynb #4

Description

@kumarmohit0911

While i was going through ur codes i found a minor mistake in the above mentioned file i.e,Complete-Python-Bootcamp/7-Exception Handling
/7.1-exception.ipynb
In the very third cell from bottom u typed file.closed() but file.close
here there won't be any parenthesis as closed is not a method but a property which returns boolean value. And its not throwing error bcoz it is not getting executed as u have used or operator.
Ik it is very small thing and u just missed on it but i would love to make changes as it is my first time i found an error in others code.
and also thanks for being such a good teacher.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions