diff --git a/index.html b/index.html index 95bcae5..c0df2f8 100644 --- a/index.html +++ b/index.html @@ -54,7 +54,7 @@
print/str/repr([<obj>])
-print/str/repr({<obj>: <obj>})
+Expressions that call the repr() method:
print/str/repr([<obj>])
+print/str/repr({<obj>: <obj>})
f'{<obj>!r}'
-Z = dataclasses.make_dataclass('Z', ['a']); print/str/repr(Z(<obj>))
+Z = dataclasses.make_dataclass('Z', ['a']); print/str/repr(Z(<obj>))
>>> <obj>
@@ -2932,7 +2932,7 @@ $ deactivate # Deactivates the activ
diff --git a/parse.js b/parse.js
index b47b309..d46dca6 100755
--- a/parse.js
+++ b/parse.js
@@ -827,7 +827,7 @@ function fixHighlights() {
$(`code:contains( = ±0b)`).html(BIN_HEX);
$(`code:contains(@lru_cache(maxsize=None))`).html(LRU_CACHE);
$(`code:contains(@debug(print_result=True))`).html(PARAMETRIZED_DECORATOR);
- $(`code:contains(print/str/repr([obj]))`).html(REPR_USE_CASES);
+ $(`code:contains(print/str/repr([]))`).html(REPR_USE_CASES);
$(`code:contains((self, a=None):)`).html(CONSTRUCTOR_OVERLOADING);
$(`code:contains(make_dataclass(\'\')`).html(DATACLASS);
$(`code:contains(shutil.copy)`).html(SHUTIL_COPY);