Skip to content

not() should be explained in Python doc #140439

@hyperkai

Description

@hyperkai

not() function works like not keyword as shown below:

print(not())      # True
print(not(False)) # True
print(not(True))  # False

print(not True)  # False
print(not False) # True

But Python doc doesn't explain not() function so not() should be explained in Python doc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirinvalid

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions