Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumPythonpathlibSingle-choice MCQ

Why does `'configs' / PurePosixPath('app.ini')` work even though the left operand is a plain string?

from pathlib import PurePosixPath result = 'configs' / PurePosixPath('app.ini')