Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 7.1-exception.ipynb #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kumarmohit0911
Copy link

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 operator.

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.
Copy link

@mjbear mjbear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that file.closed is a Boolean property and not a method.

@mjbear
Copy link

mjbear commented Nov 18, 2024

Now it's up to @krishnaik06 for the final review and decision whether to merge these changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants