Homec4science

Highlight numbers in Python import names properly

Authored by Ben Alpert <spicyjalapeno@gmail.com> on Sep 5 2014, 02:15.

Description

Highlight numbers in Python import names properly

Summary: This was a typo I made when porting the Pygments lexer.

Test Plan: Made a paste with "import webapp2_extras" and saw that the whole "webapp2_extras" was blue (unlike before, when only "webapp" was).

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D10418

Details

Committed
epriestley <git@epriestley.com>Sep 5 2014, 02:15
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU2de64405cfdf: phutil_utf8_shorten => PhutilUTF8StringTruncator
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUe29b637875fe: Highlight numbers in Python import names properly (authored by Ben Alpert <spicyjalapeno@gmail.com>).Sep 5 2014, 02:15