Skip to content

Commit

Permalink
Added types.
Browse files Browse the repository at this point in the history
  • Loading branch information
emeryberger committed Dec 7, 2023
1 parent adebb7f commit 4f71ded
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scalene/scalene_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@
from scalene.find_browser import find_browser

console = Console(style="white on blue")
def nada(*args):
pass

# Assigning to `nada` disables any console.log commands.
def nada(*args: Any) -> None:
pass
console.log = nada

from collections import defaultdict
Expand Down

0 comments on commit 4f71ded

Please sign in to comment.