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

correct various typos #8

Merged
merged 3 commits into from
Jul 6, 2018
Merged

correct various typos #8

merged 3 commits into from
Jul 6, 2018

Conversation

ReblochonMasque
Copy link
Contributor

Several minor typos were corrected

@@ -64,11 +64,11 @@ not be sent the message. Putting a try/except clause around every sendMessage is
typically not practical.

Since exceptions are common during application development (bugs due to
invalid arguments, failed assertions, etc), Pypubsub provdes a hook to register
invalid arguments, failed assertions, etc...), Pypubsub provides a hook to register
Copy link

Choose a reason for hiding this comment

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

I would argue there should just be a single period here after the etc. An ellipsis (...) is somewhat redundant with etc.

a 'listener exception' handler: whenever a listener raises an exception,
Pypubsub then sends it to the handler, and continues with the send operation
until all listeners have received the message. The handler might print it to
a log file, output a message in a status bar, show an error box, etc. The
a log file, output a message in a status bar, show an error box, etc... The
Copy link

Choose a reason for hiding this comment

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

Same here, I would not add an ellipsis.

this topic will receives all messages of every topic. By default, the listener
will not receive any data since pub.ALL_TOPICS is the parent of all root topics:
its MDS must be empty.

However, any listener that is a callable
with a "catch-all" \**kwargs parameter will be given all message data. Moreover,
Pypubsub sends the topic object automatically with the message data if it
Pypubsub sends the topic object automatically with the message data, if it
Copy link

Choose a reason for hiding this comment

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

I don't think a comma is appropriate here.

@ReblochonMasque
Copy link
Contributor Author

Noted: I noticed the missing chars, corrected them, and thought that I'd scan the entire page for other things to correct in order to do a thorough job, and I think I got carried away trying to find stuff, sorry.
I reverted the three changes you pointed at.

@schollii
Copy link
Owner

schollii commented Jul 1, 2018

Thanks I will check this once I get back from vacation next week

@schollii
Copy link
Owner

schollii commented Jul 6, 2018

Thanks @ReblochonMasque for fixes and @swt2c for reviewing, much appreciated!

@schollii schollii merged commit aacb3c1 into schollii:master Jul 6, 2018
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.

3 participants