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

Simplify get_go_string() in Board implementation #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

abhinav-upadhyay
Copy link

We could simply return the value from self._grid.get(point) rather than checking for None, since if it is None we are returning None.

We could simply return the value from self._grid.get(point) rather than checking for None, since if it is None we are returning None.
@maxpumperla
Copy link
Owner

@abhinav-upadhyay you're right, thanks. sorry for the late reply. To keep the book in sync with master, can you please re-submit your PR against our new improvements branch?

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