Source code for itertools

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Tue Aug 31 04:14:29 CEST 2010

In message <9aa266f0-be9b-4c9a-bfbd-6cdfc86ad2c8 at>, vsoler wrote:

> I'm interested in studying the itertools source code, especially the
> permutations function.
> However, I cannot find the library. Where could I find it?

ldo at theon:python> apt-get source python3.1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Need to get 12.0MB of source archives.
Get:1 sid/main python3.1 3.1.2+20100829-1 (dsc) [1,776B]
Get:2 sid/main python3.1 3.1.2+20100829-1 (tar) [11.8MB]
Get:3 sid/main python3.1 3.1.2+20100829-1 (diff) [239kB]                  
Fetched 12.0MB in 28s (417kB/s)                                                                    
dpkg-source: info: extracting python3.1 in python3.1-3.1.2+20100829
dpkg-source: info: unpacking python3.1_3.1.2+20100829.orig.tar.gz
dpkg-source: info: applying python3.1_3.1.2+20100829-1.diff.gz
ldo at theon:python> find . -iname \*itertools\*

More information about the Python-list mailing list