[Python-checkins] cpython: Issue #13772: Use syntax for literal wchar_t character
victor.stinner
python-checkins at python.org
Wed Jun 5 02:08:02 CEST 2013
http://hg.python.org/cpython/rev/c8212fca8747
changeset: 84038:c8212fca8747
user: Victor Stinner <victor.stinner at gmail.com>
date: Wed Jun 05 02:07:46 2013 +0200
summary:
Issue #13772: Use syntax for literal wchar_t character
files:
Modules/posixmodule.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -6744,7 +6744,7 @@
/* walk the path from the end until a backslash is encountered */
for(ptr = path + wcslen(path); ptr != path; ptr--) {
- if (*ptr == *L"\\" || *ptr == *L"/")
+ if (*ptr == L'\\' || *ptr == L'/')
break;
}
*ptr = 0;
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list