From 30dae6dbf110827ab895bc3ebf04333bb0297937 Mon Sep 17 00:00:00 2001 From: Nyakku Shigure Date: Tue, 18 Oct 2022 16:45:54 +0800 Subject: [PATCH] remove __future__ import in docstring, test=document_fix (#46890) --- python/paddle/distributed/spawn.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/python/paddle/distributed/spawn.py b/python/paddle/distributed/spawn.py index 12b9f5c659b..2e998b58cc5 100644 --- a/python/paddle/distributed/spawn.py +++ b/python/paddle/distributed/spawn.py @@ -474,8 +474,6 @@ def spawn(func, args=(), nprocs=-1, join=True, daemon=False, **options): Examples: .. code-block:: python - from __future__ import print_function - import paddle import paddle.nn as nn import paddle.optimizer as opt -- GitLab