8000 syntax highlighting failure · Issue #385 · python-mode/python-mode · GitHub
[go: up one dir, main page]

Skip to content

syntax highlighting failure #385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lodagro opened this issue Feb 18, 2014 · 0 comments
Closed

syntax highlighting failure #385

lodagro opened this issue Feb 18, 2014 · 0 comments

Comments

@lodagro
Copy link
Contributor
lodagro commented Feb 18, 2014

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.

lodagro added a commit to lodagro/python-mode that referenced this issue Feb 28, 2014
@klen klen closed this as completed in 20e14aa Mar 24, 2014
klen added a commit that referenced this issue Mar 24, 2014
fix #385 (syntax highlighting failure)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0