Skip to content

Commit df6dfd8

Browse files
committed
Fix new_startup_env docs
1 parent b3ed3d4 commit df6dfd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def spawn_repl(*args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, custom=F
7070

7171
@contextmanager
7272
def new_startup_env(*, code: str, histfile: str = ".pythonhist"):
73-
"""Create temporary environment variables for a PYTHONSTARTUP script."""
73+
"""Create environment variables for a PYTHONSTARTUP script in a temporary directory."""
7474
with os_helper.temp_dir() as tmpdir:
7575
filename = os.path.join(tmpdir, "pythonstartup.py")
7676
with open(filename, "w") as f:

0 commit comments

Comments
 (0)