summaryrefslogtreecommitdiff
path: root/bitsandbytes/utils.py
diff options
context:
space:
mode:
authorMax Ryabinin <mryabinin0@gmail.com>2022-08-24 18:45:17 +0300
committerMax Ryabinin <mryabinin0@gmail.com>2022-08-24 18:45:17 +0300
commit92a3363096e10ad6a5c4e944af898bd1186d806a (patch)
tree4d21c6cb5cef45e992cf2cc36caf89af3c81632e /bitsandbytes/utils.py
parent9fc0ab415c564d278b673c694de9b884ea1121d2 (diff)
Replace print_stderr with warnings.warn
Diffstat (limited to 'bitsandbytes/utils.py')
-rw-r--r--bitsandbytes/utils.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/bitsandbytes/utils.py b/bitsandbytes/utils.py
index 77bbd30..1cd90e3 100644
--- a/bitsandbytes/utils.py
+++ b/bitsandbytes/utils.py
@@ -1,6 +1,5 @@
import shlex
import subprocess
-import sys
from typing import Tuple
@@ -22,7 +21,3 @@ def execute_and_return(command_string: str) -> Tuple[str, str]:
std_out, std_err = execute_and_return_decoded_std_streams(command_string)
return std_out, std_err
-
-
-def print_stderr(s: str) -> None:
- print(s, file=sys.stderr)