From songofacandy at gmail.com Thu Sep 2 08:24:34 2010 From: songofacandy at gmail.com (INADA Naoki) Date: Thu, 2 Sep 2010 15:24:34 +0900 Subject: [Doc-SIG] bdb.Bdb.canonic() -- What "stripped of surrounding angle brackets" means? Message-ID: Hi, all. on http://docs.python.org/library/bdb.html canonic(filename) Auxiliary method for getting a filename in a canonical form, that is, as a case-normalized (on case-insensitive filesystems) absolute path, stripped of surrounding angle brackets. Is " stripped of surrounding angle brackets." means it removes "<" on left end and ">" on right end? In the code: def canonic(self, filename): if filename == "<" + filename[1:-1] + ">": return filename canonic = self.fncache.get(filename) if not canonic: canonic = os.path.abspath(filename) canonic = os.path.normcase(canonic) self.fncache[filename] = canonic return canonic canonic() doesn't remove "<" and ">". -- INADA Naoki? From merwok at netwok.org Thu Sep 2 15:13:28 2010 From: merwok at netwok.org (=?UTF-8?B?w4lyaWMgQXJhdWpv?=) Date: Thu, 02 Sep 2010 15:13:28 +0200 Subject: [Doc-SIG] bdb.Bdb.canonic() -- What "stripped of surrounding angle brackets" means? In-Reply-To: References: Message-ID: <4C7FA2F8.4000409@netwok.org> Hello This list hosts discussions about the documentation toolchain itself, not its contents. Please report the bug on bugs.python.org. Thanks. Regards From songofacandy at gmail.com Wed Sep 8 05:55:13 2010 From: songofacandy at gmail.com (INADA Naoki) Date: Wed, 8 Sep 2010 12:55:13 +0900 Subject: [Doc-SIG] bdb.Bdb.canonic() -- What "stripped of surrounding angle brackets" means? In-Reply-To: <4C7FA2F8.4000409@netwok.org> References: <4C7FA2F8.4000409@netwok.org> Message-ID: > This list hosts discussions about the documentation toolchain itself, > not its contents. Really? http://www.python.org/community/sigs/current/doc-sig/ says: > For discussion of both the form and content of Python documentation. > Please report the bug on bugs.python.org. Thanks. I can't determine is this a bug or not because I am not good at English. I may misunderstand documents. -- INADA Naoki?