summaryrefslogtreecommitdiff
path: root/pygments/lexers/php.py
diff options
context:
space:
mode:
authorMatthäus G. Chajdas <dev@anteru.net>2020-09-08 20:33:25 +0200
committerMatthäus G. Chajdas <dev@anteru.net>2020-09-08 20:33:25 +0200
commit203ef1eff6daebab6f95b0b49e6e6a58168073fb (patch)
tree7defa199f48a34787f980b6400d8bbaa9380039a /pygments/lexers/php.py
parente09d4e0cf23d7c6069ddc690942ceb4cd23fd556 (diff)
parentb2c91c70ee536b0472100d1273818f8bb45529fe (diff)
downloadpygments-git-bug/angular-html.tar.gz
Merge branch 'master' into bug/angular-htmlbug/angular-html
# Conflicts: # tests/test_shell.py
Diffstat (limited to 'pygments/lexers/php.py')
-rw-r--r--pygments/lexers/php.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pygments/lexers/php.py b/pygments/lexers/php.py
index 2bad339a..aab502e2 100644
--- a/pygments/lexers/php.py
+++ b/pygments/lexers/php.py
@@ -116,13 +116,13 @@ class PsyshConsoleLexer(Lexer):
insertions = []
for match in line_re.finditer(text):
line = match.group()
- if line.startswith(u'>>> ') or line.startswith(u'... '):
+ if line.startswith('>>> ') or line.startswith('... '):
insertions.append((len(curcode),
[(0, Generic.Prompt, line[:4])]))
curcode += line[4:]
- elif line.rstrip() == u'...':
+ elif line.rstrip() == '...':
insertions.append((len(curcode),
- [(0, Generic.Prompt, u'...')]))
+ [(0, Generic.Prompt, '...')]))
curcode += line[3:]
else:
if curcode: