{"action":"created","issue":{"url":"https://api.github.com/repos/sphinx-doc/testing-bb-issues/issues/8","labels_url":"https://api.github.com/repos/sphinx-doc/testing-bb-issues/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/testing-bb-issues/issues/8/comments","events_url":"https://api.github.com/repos/sphinx-doc/testing-bb-issues/issues/8/events","html_url":"https://github.com/sphinx-doc/testing-bb-issues/issues/8","id":53213321,"number":8,"title":"autoclass_content = 'both' doesn't allow wrapping :param: lists in __init__ docstring","user":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sphinx-doc/testing-bb-issues/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-01T05:26:27Z","updated_at":"2015-01-01T05:26:29Z","closed_at":null,"body":"I don't really understand what's going on here, but when I am using autoclass_content = 'both' and I put a :param: entry in my class docstring that wraps, it works, but if I put it in the __init__ docstring, it doesn't. The error is this:\n\n/Users/radix/Projects/effect/effect/__init__.py:docstring of effect.TypeDispatcher:4: WARNING: Field list ends without a blank line; unexpected unindent.\n\nHere's the *failing* example:\n\n\n```\n#!python\n\nclass TypeDispatcher(object):\n    \"\"\"\n    An Effect dispatcher which looks up the performer to use by type.\n    \"\"\"\n    def __init__(self, mapping):\n        \"\"\"\n        :param collections.Mapping mapping: A mapping of intent type to\n            performer.\n        \"\"\"\n```\n\n\nThe following works:\n\n\n\n```\n#!python\n\nclass TypeDispatcher(object):\n    \"\"\"\n    An Effect dispatcher which looks up the performer to use by type.\n\n    :param collections.Mapping mapping: A mapping of intent type to\n        performer.\n    \"\"\"\n    def __init__(self, mapping):\n        \"\"\"\n        \"\"\"\n        self.mapping = mapping\n\n```\n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/birkenfeld/sphinx/issue/1659\n- Originally reported by: [radeex](https://bitbucket.org/radeex)\n- Originally created at: 2014-12-29T23:50:17.954\n"},"comment":{"url":"https://api.github.com/repos/sphinx-doc/testing-bb-issues/issues/comments/68480680","html_url":"https://github.com/sphinx-doc/testing-bb-issues/issues/8#issuecomment-68480680","issue_url":"https://api.github.com/repos/sphinx-doc/testing-bb-issues/issues/8","id":68480680,"user":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"created_at":"2015-01-01T05:26:29Z","updated_at":"2015-01-01T05:26:29Z","body":"_From [radeex](https://bitbucket.org/radeex) on 2014-12-29 22:58:51+00:00_\n\nThere was a mistake in the examples in the description. I've updated them."}}