[issue8121] Typo in cStringIO

2010-03-12 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth wxjmfa...@gmail.com: There is a malformed string in the module cStringIO. StringI -- StringIO sys.version 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] StringIO.StringIO('123') StringIO.StringIO instance at 0x02D230D0

[issue8121] Typo in cStringIO

2010-03-12 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: That name is actually correct. cStringIO features two different types, depending on whether you call cStringIO.StringIO() with or without an argument. One is called StringI, the other StringO. -- nosy: +georg.brandl resolution: -

[issue8121] Typo in cStringIO

2010-03-12 Thread Jean-Michel Fauth
Jean-Michel Fauth wxjmfa...@gmail.com added the comment: Wow! I never been aware of this (documentation, dir(), __doc__) Indeed: cStringIO.StringIO() cStringIO.StringO object at 0x02D94F40 cStringIO.StringIO('abc') cStringIO.StringI object at 0x016DE920 Sorry for the noise. --