We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b38b6fc commit b1484baCopy full SHA for b1484ba
python_files/pythonrc.py
@@ -4,7 +4,7 @@
4
import readline
5
6
original_ps1 = ">>> "
7
-should_opt_out = sys.version_info >= (3, 13)
+use_shell_integration = sys.version_info < (3, 13)
8
9
10
class REPLHooks:
@@ -73,5 +73,5 @@ def __str__(self):
73
return result
74
75
76
-if sys.platform != "win32" and not should_opt_out:
+if sys.platform != "win32" and use_shell_integration:
77
sys.ps1 = PS1()
0 commit comments