{"action":"created","issue":{"url":"https://api.github.com/repos/PyCQA/pep8/issues/454","labels_url":"https://api.github.com/repos/PyCQA/pep8/issues/454/labels{/name}","comments_url":"https://api.github.com/repos/PyCQA/pep8/issues/454/comments","events_url":"https://api.github.com/repos/PyCQA/pep8/issues/454/events","html_url":"https://github.com/PyCQA/pep8/issues/454","id":113251218,"number":454,"title":"Exception when I start to write some docstrings.","user":{"login":"cganterh","id":5922460,"avatar_url":"https://avatars.githubusercontent.com/u/5922460?v=3","gravatar_id":"","url":"https://api.github.com/users/cganterh","html_url":"https://github.com/cganterh","followers_url":"https://api.github.com/users/cganterh/followers","following_url":"https://api.github.com/users/cganterh/following{/other_user}","gists_url":"https://api.github.com/users/cganterh/gists{/gist_id}","starred_url":"https://api.github.com/users/cganterh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cganterh/subscriptions","organizations_url":"https://api.github.com/users/cganterh/orgs","repos_url":"https://api.github.com/users/cganterh/repos","events_url":"https://api.github.com/users/cganterh/events{/privacy}","received_events_url":"https://api.github.com/users/cganterh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-25T20:47:28Z","updated_at":"2015-10-26T02:04:38Z","closed_at":null,"body":"Hi, I'm using Atom with the linter-flake8 package and I'm getting this exception from pep8:\r\n\r\n    Error: Traceback (most recent call last):\r\n        File \"/usr/local/bin/flake8\", line 11, in sys.exit(main())\r\n        File \"/usr/local/lib/python3.5/dist-packages/flake8/main.py\", line 33, in main report = flake8_style.check_files()\r\n        File \"/usr/local/lib/python3.5/dist-packages/pep8.py\", line 1672, in check_files runner(path)\r\n        File \"/usr/local/lib/python3.5/dist-packages/flake8/engine.py\", line 95, in input_file return fchecker.check_all(expected=expected, line_offset=line_offset)\r\n        File \"/usr/local/lib/python3.5/dist-packages/pep8.py\", line 1456, in check_all self.check_logical()\r\n        File \"/usr/local/lib/python3.5/dist-packages/pep8.py\", line 1328, in check_logical (start_row, start_col) = mapping[0][1]\r\n    TypeError: 'NoneType' object is not subscriptable\r\n\r\nThis happens sometimes when I start writing a docstring such as:\r\n\r\n    def f():\r\n        \"\"\"\r\n\r\nIf you need more information just ask. (I was unsure what to include.)  \r\nThanks."},"comment":{"url":"https://api.github.com/repos/PyCQA/pep8/issues/comments/151001760","html_url":"https://github.com/PyCQA/pep8/issues/454#issuecomment-151001760","issue_url":"https://api.github.com/repos/PyCQA/pep8/issues/454","id":151001760,"user":{"login":"sigmavirus24","id":240830,"avatar_url":"https://avatars.githubusercontent.com/u/240830?v=3","gravatar_id":"","url":"https://api.github.com/users/sigmavirus24","html_url":"https://github.com/sigmavirus24","followers_url":"https://api.github.com/users/sigmavirus24/followers","following_url":"https://api.github.com/users/sigmavirus24/following{/other_user}","gists_url":"https://api.github.com/users/sigmavirus24/gists{/gist_id}","starred_url":"https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigmavirus24/subscriptions","organizations_url":"https://api.github.com/users/sigmavirus24/orgs","repos_url":"https://api.github.com/users/sigmavirus24/repos","events_url":"https://api.github.com/users/sigmavirus24/events{/privacy}","received_events_url":"https://api.github.com/users/sigmavirus24/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T02:04:38Z","updated_at":"2015-10-26T02:04:38Z","body":"What version of flake8 are you using?"}}