Skip to content

Conversation

@cben
Copy link
Contributor

@cben cben commented Sep 6, 2017

Made the text say it depends on class, and rest of explanation talk of lists, not objects.

Made the text say it depends on class, and rest of explanation talk of lists, not objects.
README.md Outdated
#### 💡 Explanation:

* a += b doesn't behave the same way as a = a + b
* `a += b` doesn't always behave the same way as `a = a + b`. Classes *may* implement the op= operators differently, and lists do this.
Copy link
Owner

Choose a reason for hiding this comment

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

@cben Thanks for the PR. Nice catch! Just a minor question, shouldn't "op=" be syntax highlighted as op=, or at least it'd be better to wrap it around quotes, I feel.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done. op= is not actual syntax but discovered I can make op= italic, now I'm happy :-)

@satwikkansal satwikkansal merged commit 0492157 into satwikkansal:master Sep 6, 2017
@satwikkansal
Copy link
Owner

Thanks! Merged 👍

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