GitHub PullRequestReviewCommentEvent at 2014-03-11 16:24:21
Repository: numerical_computing
Actor: ayr0
Payload: {"comment":{"url":"https://api.github.com/repos/byuimpact/numerical_computing/pulls/comments/10481489","id":10481489,"diff_hunk":"@@ -119,11 +124,17 @@ \\section*{Fundamental Concepts}\n     def __repr__(self):\n         return str(self.contents)\n \\end{lstlisting}\n+The \\li{\\_\\_repr\\_\\_} method defines how to represent the class as a string and is one example of a magic method.\n+Magic methods are used for many purposes, some of the most useful ones include defining how to handel operators such as $ =, - , >, <$ and so on.\n+For more information on creating methods and magic methods read \\url{http://www.rafekettler.com/magicmethods.html}.","path":"Python/OOP/ObjectOriented1.tex","position":65,"original_position":65,"commit_id":"df4ff82215bbefe409501e9655e04972f6652d01","original_commit_id":"df4ff82215bbefe409501e9655e04972f6652d01","user":{"login":"ayr0","id":770238,"avatar_url":"https://gravatar.com/avatar/8eb0d46468a919ecedf1211d74d882cd?d=https%3A%2F%2Fidenticons.github.com%2Fb6e47991f2ba95c79e25fa6594c054bc.png&r=x","gravatar_id":"8eb0d46468a919ecedf1211d74d882cd","url":"https://api.github.com/users/ayr0","html_url":"https://github.com/ayr0","followers_url":"https://api.github.com/users/ayr0/followers","following_url":"https://api.github.com/users/ayr0/following{/other_user}","gists_url":"https://api.github.com/users/ayr0/gists{/gist_id}","starred_url":"https://api.github.com/users/ayr0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayr0/subscriptions","organizations_url":"https://api.github.com/users/ayr0/orgs","repos_url":"https://api.github.com/users/ayr0/repos","events_url":"https://api.github.com/users/ayr0/events{/privacy}","received_events_url":"https://api.github.com/users/ayr0/received_events","type":"User","site_admin":false},"body":"We should point them to the official python docs\r\nhttp://docs.python.org/2/reference/datamodel.html\r\nThe relevant section is section 3.4","created_at":"2014-03-11T16:24:21Z","updated_at":"2014-03-11T16:24:21Z","html_url":"https://github.com/byuimpact/numerical_computing/pull/504#discussion_r10481489","pull_request_url":"https://api.github.com/repos/byuimpact/numerical_computing/pulls/504","_links":{"self":{"href":"https://api.github.com/repos/byuimpact/numerical_computing/pulls/comments/10481489"},"html":{"href":"https://github.com/byuimpact/numerical_computing/pull/504#discussion_r10481489"},"pull_request":{"href":"https://api.github.com/repos/byuimpact/numerical_computing/pulls/504"}}}}