[issue8121] Typo in cStringIO
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 cStringIO.StringIO('123') cStringIO.StringI object at 0x0183ECB0 -- components: None messages: 100920 nosy: jmfauth severity: normal status: open title: Typo in cStringIO type: behavior versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8121 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8121] Typo in cStringIO
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: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8121 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8121] Typo in cStringIO
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8121 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com