prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Wrong doc string syntax in coalib.bearlib.aspects.Root
  The doc string of the `Root` aspectclass has a formatting issue at https://github.com/coala/coala/blob/master/coalib/bearlib/aspects/__init__.py#L61
  
  You can see the wrongly rendered result at https://api.coala.io/en/latest/coalib.bearlib.aspects.html#module-coalib.bearlib.aspects
  
  </issue>
  <code>
  [start of coalib/bearlib/aspects/__init__.py]
  1 from .base import aspectbase
  2 from .meta import aspectclass
  3 from .taste import Taste, TasteError
  4 
  5 __all__ = ['Root', 'Taste', 'TasteError', 'aspectclass']
  6 
  7 
  8 class Root(aspectbase, metaclass=aspectclass):
  9     """
  10     The root aspectclass.
  11 
  12     Define sub-aspectclasses with class-bound ``.subaspect`` decorator.
  13     Definition string is taken from doc-string of decorated class.
  14     Remaining docs are taken from a nested ``docs`` class.
  15     Tastes are defined as class attributes that are instances of
  16     :class:`coalib.bearlib.aspectclasses.Taste`.
  17 
  18     >>> @Root.subaspect
  19     ... class Formatting:
  20     ...     \"""
  21     ...     A parent aspect for code formatting aspects...
  22     ...     \"""
  23 
  24     We can now create subaspects like this:
  25 
  26     >>> @Formatting.subaspect
  27     ... class LineLength:
  28     ...     \"""
  29     ...     This aspect controls the length of a line...
  30     ...     \"""
  31     ...     class docs:
  32     ...        example = "..."
  33     ...        example_language = "..."
  34     ...        importance_reason = "..."
  35     ...        fix_suggestions = "..."
  36     ...
  37     ...     max_line_length = Taste[int](
  38     ...         "Maximum length allowed for a line.",
  39     ...         (80, 90, 120), default=80)
  40 
  41     The representation will show the full "path" to the leaf of the tree:
  42 
  43     >>> Root.Formatting.LineLength
  44     <aspectclass 'Root.Formatting.LineLength'>
  45 
  46     We can see, which settings are availables:
  47 
  48     >>> Formatting.tastes
  49     {}
  50     >>> LineLength.tastes
  51     {'max_line_length': <....Taste[int] object at ...>}
  52 
  53     And instantiate the aspect with the values, they will be automatically
  54     converted:
  55 
  56     >>> Formatting('Python')
  57     <coalib.bearlib.aspects.Root.Formatting object at 0x...>
  58     >>> LineLength('Python', max_line_length="100").tastes
  59     {'max_line_length': 100}
  60 
  61     If no settings are given, the defaults will be taken>
  62     >>> LineLength('Python').tastes
  63     {'max_line_length': 80}
  64 
  65     Tastes can also be made available for only specific languages:
  66 
  67     >>> from coalib.bearlib.languages import Language
  68     >>> @Language
  69     ... class GreaterTrumpScript:
  70     ...     pass
  71 
  72     >>> @Formatting.subaspect
  73     ... class Greatness:
  74     ...     \"""
  75     ...     This aspect controls the greatness of a file...
  76     ...     \"""
  77     ...
  78     ...     min_greatness = Taste[int](
  79     ...         "Minimum greatness factor needed for a TrumpScript file. "
  80     ...         "This is fact.",
  81     ...         (1000000, 1000000000, 1000000000000), default=1000000,
  82     ...         languages=('GreaterTrumpScript' ,))
  83 
  84     >>> Greatness.tastes
  85     {'min_greatness': <....Taste[int] object at ...>}
  86     >>> Greatness('GreaterTrumpScript').tastes
  87     {'min_greatness': 1000000}
  88     >>> Greatness('GreaterTrumpScript', min_greatness=1000000000000).tastes
  89     {'min_greatness': 1000000000000}
  90 
  91     >>> Greatness('Python').tastes
  92     {}
  93 
  94     >>> Greatness('Python', min_greatness=1000000000)
  95     ... # doctest: +NORMALIZE_WHITESPACE
  96     Traceback (most recent call last):
  97       ...
  98     coalib.bearlib.aspects.taste.TasteError:
  99     Root.Formatting.Greatness.min_greatness is not available ...
  100 
  101     >>> Greatness('Python').min_greatness
  102     ... # doctest: +NORMALIZE_WHITESPACE
  103     Traceback (most recent call last):
  104       ...
  105     coalib.bearlib.aspects.taste.TasteError:
  106     Root.Formatting.Greatness.min_greatness is not available ...
  107     """
  108     parent = None
  109 
  110     _tastes = {}
  111
  [end of coalib/bearlib/aspects/__init__.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/coalib/bearlib/aspects/__init__.py b/coalib/bearlib/aspects/__init__.py
  --- a/coalib/bearlib/aspects/__init__.py
  +++ b/coalib/bearlib/aspects/__init__.py
  @@ -58,7 +58,8 @@
       >>> LineLength('Python', max_line_length="100").tastes
       {'max_line_length': 100}
   
  -    If no settings are given, the defaults will be taken>
  +    If no settings are given, the defaults will be taken:
  +
       >>> LineLength('Python').tastes
       {'max_line_length': 80}
  
verification_info: {"golden_diff": "diff --git a/coalib/bearlib/aspects/__init__.py b/coalib/bearlib/aspects/__init__.py\n--- a/coalib/bearlib/aspects/__init__.py\n+++ b/coalib/bearlib/aspects/__init__.py\n@@ -58,7 +58,8 @@\n     >>> LineLength('Python', max_line_length=\"100\").tastes\n     {'max_line_length': 100}\n \n-    If no settings are given, the defaults will be taken>\n+    If no settings are given, the defaults will be taken:\n+\n     >>> LineLength('Python').tastes\n     {'max_line_length': 80}\n", "issue": "Wrong doc string syntax in coalib.bearlib.aspects.Root\nThe doc string of the `Root` aspectclass has a formatting issue at https://github.com/coala/coala/blob/master/coalib/bearlib/aspects/__init__.py#L61\r\n\r\nYou can see the wrongly rendered result at https://api.coala.io/en/latest/coalib.bearlib.aspects.html#module-coalib.bearlib.aspects\n", "before_files": [{"content": "from .base import aspectbase\nfrom .meta import aspectclass\nfrom .taste import Taste, TasteError\n\n__all__ = ['Root', 'Taste', 'TasteError', 'aspectclass']\n\n\nclass Root(aspectbase, metaclass=aspectclass):\n    \"\"\"\n    The root aspectclass.\n\n    Define sub-aspectclasses with class-bound ``.subaspect`` decorator.\n    Definition string is taken from doc-string of decorated class.\n    Remaining docs are taken from a nested ``docs`` class.\n    Tastes are defined as class attributes that are instances of\n    :class:`coalib.bearlib.aspectclasses.Taste`.\n\n    >>> @Root.subaspect\n    ... class Formatting:\n    ...     \\\"\"\"\n    ...     A parent aspect for code formatting aspects...\n    ...     \\\"\"\"\n\n    We can now create subaspects like this:\n\n    >>> @Formatting.subaspect\n    ... class LineLength:\n    ...     \\\"\"\"\n    ...     This aspect controls the length of a line...\n    ...     \\\"\"\"\n    ...     class docs:\n    ...        example = \"...\"\n    ...        example_language = \"...\"\n    ...        importance_reason = \"...\"\n    ...        fix_suggestions = \"...\"\n    ...\n    ...     max_line_length = Taste[int](\n    ...         \"Maximum length allowed for a line.\",\n    ...         (80, 90, 120), default=80)\n\n    The representation will show the full \"path\" to the leaf of the tree:\n\n    >>> Root.Formatting.LineLength\n    <aspectclass 'Root.Formatting.LineLength'>\n\n    We can see, which settings are availables:\n\n    >>> Formatting.tastes\n    {}\n    >>> LineLength.tastes\n    {'max_line_length': <....Taste[int] object at ...>}\n\n    And instantiate the aspect with the values, they will be automatically\n    converted:\n\n    >>> Formatting('Python')\n    <coalib.bearlib.aspects.Root.Formatting object at 0x...>\n    >>> LineLength('Python', max_line_length=\"100\").tastes\n    {'max_line_length': 100}\n\n    If no settings are given, the defaults will be taken>\n    >>> LineLength('Python').tastes\n    {'max_line_length': 80}\n\n    Tastes can also be made available for only specific languages:\n\n    >>> from coalib.bearlib.languages import Language\n    >>> @Language\n    ... class GreaterTrumpScript:\n    ...     pass\n\n    >>> @Formatting.subaspect\n    ... class Greatness:\n    ...     \\\"\"\"\n    ...     This aspect controls the greatness of a file...\n    ...     \\\"\"\"\n    ...\n    ...     min_greatness = Taste[int](\n    ...         \"Minimum greatness factor needed for a TrumpScript file. \"\n    ...         \"This is fact.\",\n    ...         (1000000, 1000000000, 1000000000000), default=1000000,\n    ...         languages=('GreaterTrumpScript' ,))\n\n    >>> Greatness.tastes\n    {'min_greatness': <....Taste[int] object at ...>}\n    >>> Greatness('GreaterTrumpScript').tastes\n    {'min_greatness': 1000000}\n    >>> Greatness('GreaterTrumpScript', min_greatness=1000000000000).tastes\n    {'min_greatness': 1000000000000}\n\n    >>> Greatness('Python').tastes\n    {}\n\n    >>> Greatness('Python', min_greatness=1000000000)\n    ... # doctest: +NORMALIZE_WHITESPACE\n    Traceback (most recent call last):\n      ...\n    coalib.bearlib.aspects.taste.TasteError:\n    Root.Formatting.Greatness.min_greatness is not available ...\n\n    >>> Greatness('Python').min_greatness\n    ... # doctest: +NORMALIZE_WHITESPACE\n    Traceback (most recent call last):\n      ...\n    coalib.bearlib.aspects.taste.TasteError:\n    Root.Formatting.Greatness.min_greatness is not available ...\n    \"\"\"\n    parent = None\n\n    _tastes = {}\n", "path": "coalib/bearlib/aspects/__init__.py"}]}