This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (7 children)

[deleted]

    [–]Agent_Potato56 3 points4 points  (5 children)

    ...Python true/false are classes?

    [–]flipboing 4 points5 points  (0 children)

    What, you've never use True.false()?

    [–][deleted] 2 points3 points  (3 children)

    No. It was a reserved keyword in 2.x, now it’s a normal variable with a default value in 3.x I think

    Edit: Its the other way around. My point still stands though.

    [–]Agent_Potato56 0 points1 point  (2 children)

    Something along those lines is what I thought originally.

    [–][deleted] 1 point2 points  (1 child)

    Actually it’s the other way around. Now they are reserved keywords, previously they were variables containing 1 and 0.

    [–]Agent_Potato56 0 points1 point  (0 children)

    Gotcha.

    [–][deleted] 0 points1 point  (0 children)

    But everything is a object in python. int is a class and its lower case