(h, f)
PGM (portable graymap)
PGM (portable graymap)
PGM ( portable graymap )
def test_pgm(h, f):
    """PGM (portable graymap)"""
    if len(h) >= 3 and \
        h[0] == ord(b'P') and h[1] in b'25' and h[2] in b' \t\n\r':
        return 'pgm'
def test_pgm ( h , f ) : if len ( h ) >= 3 and h [ 0 ] == ord ( b'P' ) and h [ 1 ] in b'25' and h [ 2 ] in b' \t\n\r' : return 'pgm'