You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/snippets/bools.py
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -40,8 +40,6 @@ def __bool__(self):
40
40
assertnot (Falseandfake)
41
41
assert (Trueand5) ==5
42
42
43
-
assertbool.__doc__=="bool(x) -> bool\n\nReturns True when the argument x is true, False otherwise.\nThe builtins True and False are the only two instances of the class bool.\nThe class bool is a subclass of the class int, and cannot be subclassed."
Copy file name to clipboardExpand all lines: tests/snippets/numbers.py
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,6 @@
2
2
x.__init__(6)
3
3
assertx==5
4
4
5
-
assertint.__doc__=="int(x=0) -> integer\nint(x, base=10) -> integer\n\nConvert a number or string to an integer, or return 0 if no arguments\nare given. If x is a number, return x.__int__(). For floating point\nnumbers, this truncates towards zero.\n\nIf x is not a number or if base is given, then x must be a string,\nbytes, or bytearray instance representing an integer literal in the\ngiven base. The literal can be preceded by '+' or '-' and be surrounded\nby whitespace. The base defaults to 10. Valid bases are 0 and 2-36.\nBase 0 means to interpret the base from the string as an integer literal.\n>>> int('0b100', base=0)\n4"
0 commit comments