You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
remove parens around decorators by adjusting precidence Partial handling of quotes within 3.6 format strings
14 lines
362 B
Python
14 lines
362 B
Python
# From 3.6 _markupbase _parse_doctype_subset()
|
|
def bug(self, j, a, b):
|
|
self.parse_comment(j, report=0)
|
|
self.parse_comment(j, report=1, foo=2)
|
|
self.parse_comment(a, b, report=3)
|
|
|
|
# From 3.6 fnmatch.py
|
|
# Bug was precidence parenthesis around decorator
|
|
|
|
import functools
|
|
@functools.lru_cache(maxsize=256, typed=True)
|
|
def _compile_pattern(pat):
|
|
pass
|