The present invention relates to an article of clothing (10), in particular a sock (12) or a leg warmer, comprising a knitted tubular part (30) and a knitted pocket (40) configured to house at least one object. Advantageously, the knitted pocket (40) and said knitted tubular part (30) are in knitted connection, and the knitted pocket (40) comprises a knitted housing (50) and a knitted access opening (60) to said knitted housing (50). Said knitted access opening (60) to said knitted housing (50) comprises a first knitted edge (A, 62) and a second knitted edge (B, 66), facing each other and each comprising rows of stitches knitted back and forth.The knitted tubular portion (30) comprises a first row of circularly knitted stitches C1 (32) which is adjacent to the first knitted edge (A, 62), and the number of knitted stitches in at least one row of stitches (A1, 63) selected from said rows of back and forth knitted stitches (A1, 63) of said first knitted edge (A, 62) is less than or equal to half the number of knitted stitches of said first row of circularly knitted stitches C1 (32). Figure for abstract: 1.