GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Tests are now in bpython.tests · lvgelder/bpython@9c43cdd

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • bpython/curtsiesfrontend
    • parse.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎bpython/curtsiesfrontend/parse.py‎

Copy file name to clipboardExpand all lines: bpython/curtsiesfrontend/parse.py
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,6 @@ def fs_from_match(d):
6363
return fmtstr(d['string'], **atts)
6464

6565
def peel_off_string(s):
66-
r"""
67-
>>> r = peel_off_string('\x01RI\x03]\x04asdf')
68-
>>> r == ({'bg': 'I', 'string': ']', 'fg': 'R', 'colormarker': '\x01RI', 'bold': ''}, 'asdf')
69-
True
70-
"""
7166
p = r"""(?P<colormarker>\x01
7267
(?P<fg>[krgybmcwdKRGYBMCWD]?)
7368
(?P<bg>[krgybmcwdKRGYBMCWDI]?)?)

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.