module docstring not colored using font-lock-doc-face when following comment

Bug #1102011 reported by Georg Brandl
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Fix Released
Medium
Andreas Roehler

Bug Description

If you place an encoding comment above the module docstring, the docstring is not recognized and colored with font-lock-string-face. E.g.

# -*- coding: utf-8 -*-
"""
module docstring
"""

Changed in python-mode:
milestone: none → 6.1.1
assignee: nobody → Andreas Roehler (a-roehler)
importance: Undecided → Medium
status: New → Confirmed
Changed in python-mode:
status: Confirmed → Fix Committed
Changed in python-mode:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.