{"action":"opened","issue":{"url":"https://api.github.com/repos/GreenSteam/pep257/issues/116","labels_url":"https://api.github.com/repos/GreenSteam/pep257/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/GreenSteam/pep257/issues/116/comments","events_url":"https://api.github.com/repos/GreenSteam/pep257/issues/116/events","html_url":"https://github.com/GreenSteam/pep257/issues/116","id":68255939,"number":116,"title":"Support ur\"\"\"docstrings\"\"\"","user":{"login":"jquast","id":972584,"avatar_url":"https://avatars.githubusercontent.com/u/972584?v=3","gravatar_id":"","url":"https://api.github.com/users/jquast","html_url":"https://github.com/jquast","followers_url":"https://api.github.com/users/jquast/followers","following_url":"https://api.github.com/users/jquast/following{/other_user}","gists_url":"https://api.github.com/users/jquast/gists{/gist_id}","starred_url":"https://api.github.com/users/jquast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jquast/subscriptions","organizations_url":"https://api.github.com/users/jquast/orgs","repos_url":"https://api.github.com/users/jquast/repos","events_url":"https://api.github.com/users/jquast/events{/privacy}","received_events_url":"https://api.github.com/users/jquast/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-14T04:00:14Z","updated_at":"2015-04-14T04:00:14Z","closed_at":null,"body":"I have a docstring that contains both unicode characters and backslashes.\r\n\r\nI cannot find any way to make the pep257 happy with this, though ``ur\"\"\"docstring\"\"\"`` seems suitable.\r\n\r\n```\r\n$ cat > test.py <<EOF\r\n\"\"\"Some test module.\"\"\"\r\n# encoding: utf-8\r\n\r\ndef func(self):\r\n    ur\"\"\"docstring with \\backslashes and unicode, コンニチハ.\"\"\"\r\n    pass\r\nEOF\r\n$ pep257 test.py\r\ntest.py:4 in public function `func`:\r\n        D301: Use r\"\"\" if any backslashes in a docstring\r\ntest.py:4 in public function `func`:\r\n        D300: Use \"\"\"triple double quotes\"\"\" (found '-quotes)\r\n$ PAGER=cat python\r\n>>> from test import func\r\n>>> help(func)\r\nHelp on function func in module test:\r\n\r\nfunc(self)\r\n    docstring with \\backslashes and unicode, コンニチハ.\r\n\r\n>>>\r\n```"}}