equal
deleted
inserted
replaced
146 write() and data() functions |
146 write() and data() functions |
147 |
147 |
148 Returns False if the object is unsupported or must be pre-processed by |
148 Returns False if the object is unsupported or must be pre-processed by |
149 formatdate(), formatdict(), or formatlist(). |
149 formatdate(), formatdict(), or formatlist(). |
150 """ |
150 """ |
151 return isinstance(obj, (type(None), bool, int, int, float, bytes)) |
151 return isinstance(obj, (type(None), bool, int, float, bytes)) |
152 |
152 |
153 |
153 |
154 class _nullconverter: |
154 class _nullconverter: |
155 '''convert non-primitive data types to be processed by formatter''' |
155 '''convert non-primitive data types to be processed by formatter''' |
156 |
156 |