{"action":"created","issue":{"url":"https://api.github.com/repos/codefellows/sea-c34-python/issues/308","labels_url":"https://api.github.com/repos/codefellows/sea-c34-python/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/codefellows/sea-c34-python/issues/308/comments","events_url":"https://api.github.com/repos/codefellows/sea-c34-python/issues/308/events","html_url":"https://github.com/codefellows/sea-c34-python/pull/308","id":68506882,"number":308,"title":"Task16 pull request for Jon Woodard","user":{"login":"jonathanwoodard","id":11221520,"avatar_url":"https://avatars.githubusercontent.com/u/11221520?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanwoodard","html_url":"https://github.com/jonathanwoodard","followers_url":"https://api.github.com/users/jonathanwoodard/followers","following_url":"https://api.github.com/users/jonathanwoodard/following{/other_user}","gists_url":"https://api.github.com/users/jonathanwoodard/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanwoodard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanwoodard/subscriptions","organizations_url":"https://api.github.com/users/jonathanwoodard/orgs","repos_url":"https://api.github.com/users/jonathanwoodard/repos","events_url":"https://api.github.com/users/jonathanwoodard/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanwoodard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-14T21:46:13Z","updated_at":"2015-04-15T03:36:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/codefellows/sea-c34-python/pulls/308","html_url":"https://github.com/codefellows/sea-c34-python/pull/308","diff_url":"https://github.com/codefellows/sea-c34-python/pull/308.diff","patch_url":"https://github.com/codefellows/sea-c34-python/pull/308.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/codefellows/sea-c34-python/issues/comments/93176297","html_url":"https://github.com/codefellows/sea-c34-python/pull/308#issuecomment-93176297","issue_url":"https://api.github.com/repos/codefellows/sea-c34-python/issues/308","id":93176297,"user":{"login":"ppham","id":148553,"avatar_url":"https://avatars.githubusercontent.com/u/148553?v=3","gravatar_id":"","url":"https://api.github.com/users/ppham","html_url":"https://github.com/ppham","followers_url":"https://api.github.com/users/ppham/followers","following_url":"https://api.github.com/users/ppham/following{/other_user}","gists_url":"https://api.github.com/users/ppham/gists{/gist_id}","starred_url":"https://api.github.com/users/ppham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppham/subscriptions","organizations_url":"https://api.github.com/users/ppham/orgs","repos_url":"https://api.github.com/users/ppham/repos","events_url":"https://api.github.com/users/ppham/events{/privacy}","received_events_url":"https://api.github.com/users/ppham/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T03:36:23Z","updated_at":"2015-04-15T03:36:23Z","body":"Good questions. In `oop.py` I assume you meant to call `oop_1()` and `oop_2()`. In `oop_1` you've discovered that instance methods have their own type, and that classes descending from `object` have `<type 'type'>` which is weirdly self-referential.\r\n\r\nIn `subclasses.py`, your first question is answered \"yes, subclasses inherit functions (and other attributes) from their parents\". Your second question is \"yes, but it's vaguely worded. All objects of the same class (or even subclasses) can have difference instance values from each other.\" Excellent use of subclassing for your third and fourth questions, where you override a method in a subclass to do something different than its parent."}}