mirror of
https://github.com/python/cpython.git
synced 2025-10-27 08:46:53 +00:00
PEP 285. Everything described in the PEP is here, and there is even some documentation. I had to fix 12 unit tests; all but one of these were printing Boolean outcomes that changed from 0/1 to False/True. (The exception is test_unicode.py, which did a type(x) == type(y) style comparison. I could've fixed that with a single line using issubtype(x, type(y)), but instead chose to be explicit about those places where a bool is expected. Still to do: perhaps more documentation; change standard library modules to return False/True from predicates. |
||
|---|---|---|
| .. | ||
| .cvsignore | ||
| ref.tex | ||
| ref1.tex | ||
| ref2.tex | ||
| ref3.tex | ||
| ref4.tex | ||
| ref5.tex | ||
| ref6.tex | ||
| ref7.tex | ||
| ref8.tex | ||
| refa1.tex | ||
| reswords.py | ||