[docs] [issue8562] hasattr(open, 'newlines') example gives incorrect results from PEP0278