From f68e5fc18d3cd3811dbddfdeda1a57721f9e2e4e Mon Sep 17 00:00:00 2001 From: Victorien <65306057+Viicos@users.noreply.github.com> Date: Sun, 3 Aug 2025 22:02:22 +0200 Subject: [PATCH] Remove outdated comment related to Python 2 (#4013) --- mkdocs/commands/serve.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/mkdocs/commands/serve.py b/mkdocs/commands/serve.py index 889d8066..3a426314 100644 --- a/mkdocs/commands/serve.py +++ b/mkdocs/commands/serve.py @@ -35,8 +35,6 @@ def serve( whenever a file is edited. """ # Create a temporary build directory, and set some options to serve it - # PY2 returns a byte string by default. The Unicode prefix ensures a Unicode - # string is returned. And it makes MkDocs temp dirs easier to identify. site_dir = tempfile.mkdtemp(prefix='mkdocs_') def get_config():