Skip to content

Commit

Permalink
Escape a Win32 path which Python thinks is an escape code (#1983)
Browse files Browse the repository at this point in the history
* Silence warning about deprecated escape code

* Escape all back slashes in the changed path for consistency

* Fix typo
  • Loading branch information
pushfoo committed Feb 22, 2024
1 parent d334bb3 commit 492c224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_example_docstrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def check_submodules(parent_module_absolute_name: str) -> None:
It is important to understand that module names and file paths are different things:
* A module name is what Python sees the module's name as (``"arcade.color"``)
* A file path is the location on disk (``C:|Users\Reader\python_project\game.py``)
* A file path is the location on disk (``C:\\Users\\Reader\\python_project\game.py``)
:param parent_module_absolute_name: The absolute import name of the module to check.
"""
Expand Down

0 comments on commit 492c224

Please sign in to comment.