summaryrefslogtreecommitdiff
path: root/doc/data/messages/u/unspecified-encoding/good.py
blob: a267a360708a7d680e36d0ea0a6e6a79f0f753db (plain)
1
2
3
def foo(file_path):
    with open(file_path, encoding="utf-8") as file:
        contents = file.read()