{"action":"created","comment":{"url":"https://api.github.com/repos/sympy/sympy/pulls/comments/65334032","id":65334032,"diff_hunk":"@@ -31,6 +49,38 @@ class DiracDelta(Function):\n \n     5) ``DiracDelta(x,k) = 0``, for all ``x != 0``\n \n+    Examples\n+    ========\n+\n+    >>> from sympy import DiracDelta, diff, pi, Piecewise\n+    >>> from sympy.abc import x, y\n+\n+    >>> DiracDelta(x)\n+    DiracDelta(x)\n+    >>> DiracDelta(1)\n+    0\n+    >>> DiracDelta(-1)\n+    0","path":"sympy/functions/special/delta_functions.py","position":40,"original_position":40,"commit_id":"065006e76b9c7d23c224c1451cd3971fdf891d05","original_commit_id":"9edc24e12b1a75199e375a0e5f5a286d31567444","user":{"login":"sampadsaha5","id":12191457,"avatar_url":"https://avatars.githubusercontent.com/u/12191457?v=3","gravatar_id":"","url":"https://api.github.com/users/sampadsaha5","html_url":"https://github.com/sampadsaha5","followers_url":"https://api.github.com/users/sampadsaha5/followers","following_url":"https://api.github.com/users/sampadsaha5/following{/other_user}","gists_url":"https://api.github.com/users/sampadsaha5/gists{/gist_id}","starred_url":"https://api.github.com/users/sampadsaha5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampadsaha5/subscriptions","organizations_url":"https://api.github.com/users/sampadsaha5/orgs","repos_url":"https://api.github.com/users/sampadsaha5/repos","events_url":"https://api.github.com/users/sampadsaha5/events{/privacy}","received_events_url":"https://api.github.com/users/sampadsaha5/received_events","type":"User","site_admin":false},"body":"just to show the values of the negative arguments i think keeping this example would be fine.","created_at":"2016-06-01T10:06:13Z","updated_at":"2016-06-01T10:06:13Z","html_url":"https://github.com/sympy/sympy/pull/11137#discussion_r65334032","pull_request_url":"https://api.github.com/repos/sympy/sympy/pulls/11137","_links":{"self":{"href":"https://api.github.com/repos/sympy/sympy/pulls/comments/65334032"},"html":{"href":"https://github.com/sympy/sympy/pull/11137#discussion_r65334032"},"pull_request":{"href":"https://api.github.com/repos/sympy/sympy/pulls/11137"}}},"pull_request":{"url":"https://api.github.com/repos/sympy/sympy/pulls/11137","id":70736190,"html_url":"https://github.com/sympy/sympy/pull/11137","diff_url":"https://github.com/sympy/sympy/pull/11137.diff","patch_url":"https://github.com/sympy/sympy/pull/11137.patch","issue_url":"https://api.github.com/repos/sympy/sympy/issues/11137","number":11137,"state":"open","locked":false,"title":"Improved the docstrings of DircaDelta and Heaviside classes and methods.","user":{"login":"sampadsaha5","id":12191457,"avatar_url":"https://avatars.githubusercontent.com/u/12191457?v=3","gravatar_id":"","url":"https://api.github.com/users/sampadsaha5","html_url":"https://github.com/sampadsaha5","followers_url":"https://api.github.com/users/sampadsaha5/followers","following_url":"https://api.github.com/users/sampadsaha5/following{/other_user}","gists_url":"https://api.github.com/users/sampadsaha5/gists{/gist_id}","starred_url":"https://api.github.com/users/sampadsaha5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampadsaha5/subscriptions","organizations_url":"https://api.github.com/users/sampadsaha5/orgs","repos_url":"https://api.github.com/users/sampadsaha5/repos","events_url":"https://api.github.com/users/sampadsaha5/events{/privacy}","received_events_url":"https://api.github.com/users/sampadsaha5/received_events","type":"User","site_admin":false},"body":"Ping @moorepants @leosartaj @asmeurer ","created_at":"2016-05-19T17:47:13Z","updated_at":"2016-06-01T10:06:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b5876f5dc3bc2f8ec862173560f5ace4daabee9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sympy/sympy/pulls/11137/commits","review_comments_url":"https://api.github.com/repos/sympy/sympy/pulls/11137/comments","review_comment_url":"https://api.github.com/repos/sympy/sympy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/11137/comments","statuses_url":"https://api.github.com/repos/sympy/sympy/statuses/065006e76b9c7d23c224c1451cd3971fdf891d05","head":{"label":"sampadsaha5:improve_docstrings","ref":"improve_docstrings","sha":"065006e76b9c7d23c224c1451cd3971fdf891d05","user":{"login":"sampadsaha5","id":12191457,"avatar_url":"https://avatars.githubusercontent.com/u/12191457?v=3","gravatar_id":"","url":"https://api.github.com/users/sampadsaha5","html_url":"https://github.com/sampadsaha5","followers_url":"https://api.github.com/users/sampadsaha5/followers","following_url":"https://api.github.com/users/sampadsaha5/following{/other_user}","gists_url":"https://api.github.com/users/sampadsaha5/gists{/gist_id}","starred_url":"https://api.github.com/users/sampadsaha5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampadsaha5/subscriptions","organizations_url":"https://api.github.com/users/sampadsaha5/orgs","repos_url":"https://api.github.com/users/sampadsaha5/repos","events_url":"https://api.github.com/users/sampadsaha5/events{/privacy}","received_events_url":"https://api.github.com/users/sampadsaha5/received_events","type":"User","site_admin":false},"repo":{"id":45640604,"name":"sympy","full_name":"sampadsaha5/sympy","owner":{"login":"sampadsaha5","id":12191457,"avatar_url":"https://avatars.githubusercontent.com/u/12191457?v=3","gravatar_id":"","url":"https://api.github.com/users/sampadsaha5","html_url":"https://github.com/sampadsaha5","followers_url":"https://api.github.com/users/sampadsaha5/followers","following_url":"https://api.github.com/users/sampadsaha5/following{/other_user}","gists_url":"https://api.github.com/users/sampadsaha5/gists{/gist_id}","starred_url":"https://api.github.com/users/sampadsaha5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampadsaha5/subscriptions","organizations_url":"https://api.github.com/users/sampadsaha5/orgs","repos_url":"https://api.github.com/users/sampadsaha5/repos","events_url":"https://api.github.com/users/sampadsaha5/events{/privacy}","received_events_url":"https://api.github.com/users/sampadsaha5/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sampadsaha5/sympy","description":"A computer algebra system written in pure Python","fork":true,"url":"https://api.github.com/repos/sampadsaha5/sympy","forks_url":"https://api.github.com/repos/sampadsaha5/sympy/forks","keys_url":"https://api.github.com/repos/sampadsaha5/sympy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sampadsaha5/sympy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sampadsaha5/sympy/teams","hooks_url":"https://api.github.com/repos/sampadsaha5/sympy/hooks","issue_events_url":"https://api.github.com/repos/sampadsaha5/sympy/issues/events{/number}","events_url":"https://api.github.com/repos/sampadsaha5/sympy/events","assignees_url":"https://api.github.com/repos/sampadsaha5/sympy/assignees{/user}","branches_url":"https://api.github.com/repos/sampadsaha5/sympy/branches{/branch}","tags_url":"https://api.github.com/repos/sampadsaha5/sympy/tags","blobs_url":"https://api.github.com/repos/sampadsaha5/sympy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sampadsaha5/sympy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sampadsaha5/sympy/git/refs{/sha}","trees_url":"https://api.github.com/repos/sampadsaha5/sympy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sampadsaha5/sympy/statuses/{sha}","languages_url":"https://api.github.com/repos/sampadsaha5/sympy/languages","stargazers_url":"https://api.github.com/repos/sampadsaha5/sympy/stargazers","contributors_url":"https://api.github.com/repos/sampadsaha5/sympy/contributors","subscribers_url":"https://api.github.com/repos/sampadsaha5/sympy/subscribers","subscription_url":"https://api.github.com/repos/sampadsaha5/sympy/subscription","commits_url":"https://api.github.com/repos/sampadsaha5/sympy/commits{/sha}","git_commits_url":"https://api.github.com/repos/sampadsaha5/sympy/git/commits{/sha}","comments_url":"https://api.github.com/repos/sampadsaha5/sympy/comments{/number}","issue_comment_url":"https://api.github.com/repos/sampadsaha5/sympy/issues/comments{/number}","contents_url":"https://api.github.com/repos/sampadsaha5/sympy/contents/{+path}","compare_url":"https://api.github.com/repos/sampadsaha5/sympy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sampadsaha5/sympy/merges","archive_url":"https://api.github.com/repos/sampadsaha5/sympy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sampadsaha5/sympy/downloads","issues_url":"https://api.github.com/repos/sampadsaha5/sympy/issues{/number}","pulls_url":"https://api.github.com/repos/sampadsaha5/sympy/pulls{/number}","milestones_url":"https://api.github.com/repos/sampadsaha5/sympy/milestones{/number}","notifications_url":"https://api.github.com/repos/sampadsaha5/sympy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sampadsaha5/sympy/labels{/name}","releases_url":"https://api.github.com/repos/sampadsaha5/sympy/releases{/id}","deployments_url":"https://api.github.com/repos/sampadsaha5/sympy/deployments","created_at":"2015-11-05T21:29:31Z","updated_at":"2016-01-16T12:57:05Z","pushed_at":"2016-06-01T10:01:59Z","git_url":"git://github.com/sampadsaha5/sympy.git","ssh_url":"git@github.com:sampadsaha5/sympy.git","clone_url":"https://github.com/sampadsaha5/sympy.git","svn_url":"https://github.com/sampadsaha5/sympy","homepage":"http://sympy.org/","size":77379,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"sympy:master","ref":"master","sha":"57da0becdb64897a744eeaddf559d3b7854471fa","user":{"login":"sympy","id":260832,"avatar_url":"https://avatars.githubusercontent.com/u/260832?v=3","gravatar_id":"","url":"https://api.github.com/users/sympy","html_url":"https://github.com/sympy","followers_url":"https://api.github.com/users/sympy/followers","following_url":"https://api.github.com/users/sympy/following{/other_user}","gists_url":"https://api.github.com/users/sympy/gists{/gist_id}","starred_url":"https://api.github.com/users/sympy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sympy/subscriptions","organizations_url":"https://api.github.com/users/sympy/orgs","repos_url":"https://api.github.com/users/sympy/repos","events_url":"https://api.github.com/users/sympy/events{/privacy}","received_events_url":"https://api.github.com/users/sympy/received_events","type":"Organization","site_admin":false},"repo":{"id":640534,"name":"sympy","full_name":"sympy/sympy","owner":{"login":"sympy","id":260832,"avatar_url":"https://avatars.githubusercontent.com/u/260832?v=3","gravatar_id":"","url":"https://api.github.com/users/sympy","html_url":"https://github.com/sympy","followers_url":"https://api.github.com/users/sympy/followers","following_url":"https://api.github.com/users/sympy/following{/other_user}","gists_url":"https://api.github.com/users/sympy/gists{/gist_id}","starred_url":"https://api.github.com/users/sympy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sympy/subscriptions","organizations_url":"https://api.github.com/users/sympy/orgs","repos_url":"https://api.github.com/users/sympy/repos","events_url":"https://api.github.com/users/sympy/events{/privacy}","received_events_url":"https://api.github.com/users/sympy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sympy/sympy","description":"A computer algebra system written in pure Python","fork":false,"url":"https://api.github.com/repos/sympy/sympy","forks_url":"https://api.github.com/repos/sympy/sympy/forks","keys_url":"https://api.github.com/repos/sympy/sympy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sympy/sympy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sympy/sympy/teams","hooks_url":"https://api.github.com/repos/sympy/sympy/hooks","issue_events_url":"https://api.github.com/repos/sympy/sympy/issues/events{/number}","events_url":"https://api.github.com/repos/sympy/sympy/events","assignees_url":"https://api.github.com/repos/sympy/sympy/assignees{/user}","branches_url":"https://api.github.com/repos/sympy/sympy/branches{/branch}","tags_url":"https://api.github.com/repos/sympy/sympy/tags","blobs_url":"https://api.github.com/repos/sympy/sympy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sympy/sympy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sympy/sympy/git/refs{/sha}","trees_url":"https://api.github.com/repos/sympy/sympy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sympy/sympy/statuses/{sha}","languages_url":"https://api.github.com/repos/sympy/sympy/languages","stargazers_url":"https://api.github.com/repos/sympy/sympy/stargazers","contributors_url":"https://api.github.com/repos/sympy/sympy/contributors","subscribers_url":"https://api.github.com/repos/sympy/sympy/subscribers","subscription_url":"https://api.github.com/repos/sympy/sympy/subscription","commits_url":"https://api.github.com/repos/sympy/sympy/commits{/sha}","git_commits_url":"https://api.github.com/repos/sympy/sympy/git/commits{/sha}","comments_url":"https://api.github.com/repos/sympy/sympy/comments{/number}","issue_comment_url":"https://api.github.com/repos/sympy/sympy/issues/comments{/number}","contents_url":"https://api.github.com/repos/sympy/sympy/contents/{+path}","compare_url":"https://api.github.com/repos/sympy/sympy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sympy/sympy/merges","archive_url":"https://api.github.com/repos/sympy/sympy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sympy/sympy/downloads","issues_url":"https://api.github.com/repos/sympy/sympy/issues{/number}","pulls_url":"https://api.github.com/repos/sympy/sympy/pulls{/number}","milestones_url":"https://api.github.com/repos/sympy/sympy/milestones{/number}","notifications_url":"https://api.github.com/repos/sympy/sympy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sympy/sympy/labels{/name}","releases_url":"https://api.github.com/repos/sympy/sympy/releases{/id}","deployments_url":"https://api.github.com/repos/sympy/sympy/deployments","created_at":"2010-04-30T20:37:14Z","updated_at":"2016-06-01T04:49:55Z","pushed_at":"2016-06-01T10:02:03Z","git_url":"git://github.com/sympy/sympy.git","ssh_url":"git@github.com:sympy/sympy.git","clone_url":"https://github.com/sympy/sympy.git","svn_url":"https://github.com/sympy/sympy","homepage":"http://sympy.org/","size":118477,"stargazers_count":2890,"watchers_count":2890,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1474,"mirror_url":null,"open_issues_count":2364,"forks":1474,"open_issues":2364,"watchers":2890,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sympy/sympy/pulls/11137"},"html":{"href":"https://github.com/sympy/sympy/pull/11137"},"issue":{"href":"https://api.github.com/repos/sympy/sympy/issues/11137"},"comments":{"href":"https://api.github.com/repos/sympy/sympy/issues/11137/comments"},"review_comments":{"href":"https://api.github.com/repos/sympy/sympy/pulls/11137/comments"},"review_comment":{"href":"https://api.github.com/repos/sympy/sympy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sympy/sympy/pulls/11137/commits"},"statuses":{"href":"https://api.github.com/repos/sympy/sympy/statuses/065006e76b9c7d23c224c1451cd3971fdf891d05"}}}}
{"actor":{"display_login":"sampadsaha5"}}