Skip to content

Fix for keyword arg usage in print() on Python 2.7 - #5

Merged
codelucas merged 1 commit into
codelucas:masterfrom
michaelhood:fix/print-function-python2
Dec 29, 2013
Merged

Fix for keyword arg usage in print() on Python 2.7#5
codelucas merged 1 commit into
codelucas:masterfrom
michaelhood:fix/print-function-python2

Conversation

@michaelhood

Copy link
Copy Markdown
Contributor

Fix for:

  File "newspaper/packages/feedparser/sgmllib3.py", line 484
    print('start tag: <' + tag, end=' ')
                                   ^
SyntaxError: invalid syntax

codelucas added a commit that referenced this pull request Dec 29, 2013
Fix for keyword arg usage in print() on Python 2.7
@codelucas
codelucas merged commit 1897029 into codelucas:master Dec 29, 2013
@codelucas

Copy link
Copy Markdown
Owner

Good find and fix! I'll add you into contributors in the next release.

@michaelhood

Copy link
Copy Markdown
Contributor Author

Thanks, and thanks for sharing this!

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