Skip to content

Commit 741a39f

Browse files
MarkDaoustcopybara-github
authored andcommitted
Use a string instead of a path.
PiperOrigin-RevId: 416336484
1 parent b0901e7 commit 741a39f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/tensorflow_docs/api_generator/pretty_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
JINJA_ENV = jinja2.Environment(
4040
trim_blocks=True,
4141
lstrip_blocks=True,
42-
loader=jinja2.FileSystemLoader(pathlib.Path(__file__).parent))
42+
loader=jinja2.FileSystemLoader(str(pathlib.Path(__file__).parent)))
4343

4444

4545
_TABLE_ITEMS = ('arg', 'return', 'raise', 'attr', 'yield')

0 commit comments

Comments
 (0)