Skip to content

Conversation

@Avin0323
Copy link
Contributor

PR types

Others

PR changes

Others

Describe

修复如下图所示问题:

image

对于__getattr__重载后不满足条件的参数,全部抛出AttributeError异常,达到与未重载版本一致。

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Member

@zhhsplendid zhhsplendid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhhsplendid zhhsplendid merged commit d8887af into PaddlePaddle:develop Oct 9, 2021
lanxianghit pushed a commit that referenced this pull request Oct 11, 2021
…or (#36294)

对于__getattr__重载后不满足条件的参数,全部抛出AttributeError异常,达到与未重载版本一致。

(cherry picked from PR #36229)
@Avin0323 Avin0323 deleted the fix-has-attr-error branch October 15, 2021 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants