Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# -*- mode: python; coding: utf-8 -*- 

2from __future__ import absolute_import 

3import six 

4 

5 

6class FalseMeta(type): 

7 def __bool__(self): # pragma: no cover 

8 return False 

9 

10 def __cmp__(self, other): # pragma: no cover 

11 return -1 

12 

13 __nonzero__ = __bool__ 

14 

15 

16class UnknownLength(six.with_metaclass(FalseMeta, object)): 

17 pass