Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enum states Boundaries incorrectly (In docs and source code) #103115

Closed
3SheepInATrenchcoat opened this issue Mar 29, 2023 · 2 comments
Closed

Enum states Boundaries incorrectly (In docs and source code) #103115

3SheepInATrenchcoat opened this issue Mar 29, 2023 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir stdlib Python modules in the Lib dir

Comments

@3SheepInATrenchcoat
Copy link

Regarding howto/enum.
The documentation incorrectly states that The default for Flag is STRICT, the default for IntFlag is EJECT, and the default for _convert_ is KEEP (see ssl.Options for an example of when KEEP is needed).. This is not the case, as Flag uses CONFORM and IntFlag uses KEEP.
This was changed by commits #96865 and #93250 respectively.
Additionally to the Documentation, the docstring for FlagBoundary states this incorrectly as well.

@3SheepInATrenchcoat 3SheepInATrenchcoat added the docs Documentation in the Doc dir label Mar 29, 2023
@sunmy2019
Copy link
Member

You can make a PR to change Doc/howto/enum.rst if it is convenient for you.

@sobolevn sobolevn added the stdlib Python modules in the Lib dir label Mar 29, 2023
@ethanfurman
Copy link
Member

Fixed in #103163 and #103227.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir stdlib Python modules in the Lib dir
Projects
None yet
Development

No branches or pull requests

4 participants