Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

use duck typing and exceptions as well as spaces instead of tabs - #40

Open
jihoon796 wants to merge 3 commits into
cgoldberg:masterfrom
jihoon796:master
Open

use duck typing and exceptions as well as spaces instead of tabs#40
jihoon796 wants to merge 3 commits into
cgoldberg:masterfrom
jihoon796:master

Conversation

@jihoon796

Copy link
Copy Markdown

Review on Reviewable

Comment thread ystockquote.py Outdated

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

i believe it should be alphabetical by module name.. so:

import datetime
from urllib import urlencode
from urllib2 import Request, urlopen

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Ok, fixed now - thanks!

On Sun, Dec 27, 2015 at 11:23 PM, Corey Goldberg notifications@github.com
wrote:

In ystockquote.py
#40 (comment):

 from urllib import urlencode
  • from urllib2 import Request, urlopen
  • import datetime

i believe it should be alphabetical by module name.. so:

import datetime
from urllib import urlencode
from urllib2 import Request, urlopen


Reply to this email directly or view it on GitHub
https://github.com/cgoldberg/ystockquote/pull/40/files#r48462722.

Comment thread ystockquote.py

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

yup.. thanks for that.

@jihoon796

Copy link
Copy Markdown
Author

Hey Corey, please merge if everything looks good - otherwise, let me know.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants