Skip to content

syntax highlighting failure #385

@lodagro

Description

@lodagro

Syntax highlighting of myfinc2 fails (Github seems to do this ok), see also screenshot below. It is related to the presence of ) inside the function signature.

def myfunc1(a='syntax highligting ok', b='another string'):                     
    """Myfunc1 docstring."""                                                    
    print a                                                                     
    print b                                                                     

def myfunc2(a='syntax highlighting not ok)', b='another string'):               
    """Myfunc2 docstring."""                                                    
    print a                                                                     
    print b         

screenshot

This is on develop branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions