Skip to content

Commit 30dae6d

Browse files
authored
remove __future__ import in docstring, test=document_fix (#46890)
1 parent 42e312a commit 30dae6d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

python/paddle/distributed/spawn.py

-2
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,6 @@ def spawn(func, args=(), nprocs=-1, join=True, daemon=False, **options):
474474
Examples:
475475
.. code-block:: python
476476
477-
from __future__ import print_function
478-
479477
import paddle
480478
import paddle.nn as nn
481479
import paddle.optimizer as opt

0 commit comments

Comments
 (0)