Skip to content
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

Remove verbose parameter from namedtuple (fix for Python 3.8) #641

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# BracketHighlighter

## 2.32.1

- **FIX**: Remove verbose parameter from named tubple which causes issues with Python 3.8.

## 2.32.0

- **NEW**: Opt in to Python 3.8.
Expand Down
2 changes: 1 addition & 1 deletion bh_modules/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def process_tag_pattern(pattern, variables=None):
return pattern


class TagEntry(namedtuple('TagEntry', ['begin', 'end', 'name', 'optional', 'single'], verbose=False)):
class TagEntry(namedtuple('TagEntry', ['begin', 'end', 'name', 'optional', 'single'])):
"""Tag entry tuple."""

def move(self, begin, end):
Expand Down
2 changes: 1 addition & 1 deletion support.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import webbrowser
import re

__version__ = "2.32.0"
__version__ = "2.32.1"
__pc_name__ = 'BracketHighlighter'

CSS = '''
Expand Down
Loading