title: I can't find imap() in itertools in Python
body: <p>I have a problem that I want to solve with itertools.imap(). However, after I imported itertools in IDLE shell and called itertools.imap(), the IDLE shell told me that itertools doesn't have attribute imap. What's going wrong?</p>
  
  <pre><code>&gt;&gt;&gt; import itertools
  &gt;&gt;&gt; dir(itertools)
  ['__doc__', '__loader__', '__name__', '__package__', '__spec__', '_grouper',     '_tee', '_tee_dataobject', 'accumulate', 'chain', 'combinations', 'combinations_with_replacement', 'compress', 'count', 'cycle', 'dropwhile', 'filterfalse', 'groupby', 'islice', 'permutations', 'product', 'repeat', 'starmap', 'takewhile', 'tee', 'zip_longest']
  &gt;&gt;&gt; itertools.imap()
  Traceback (most recent call last):
  File "&lt;pyshell#13&gt;", line 1, in &lt;module&gt;
  itertools.imap()
  AttributeError: 'module' object has no attribute 'imap'
  </code></pre>