Mercurial > cpython-lru_cache-weakref
comparison Python/import.c @ 16829:6732905686d4 legacy-trunk
Comment typos.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Wed, 28 Feb 2001 05:56:18 +0000 |
| parents | 3b05212c1616 |
| children | f5370e1e2392 |
comparison
equal
deleted
inserted
replaced
| 16828:3b05212c1616 | 16829:6732905686d4 |
|---|---|
| 1018 return fdp; | 1018 return fdp; |
| 1019 } | 1019 } |
| 1020 | 1020 |
| 1021 /* case_ok(buf, len, namelen, name) | 1021 /* case_ok(buf, len, namelen, name) |
| 1022 * We've already done a successful stat() or fopen() on buf (a path of length | 1022 * We've already done a successful stat() or fopen() on buf (a path of length |
| 1023 * len; can not assume there's a trailing null). name is the last component | 1023 * len, exclusive of trailing null). name is the last component of that path |
| 1024 * of then path (a string of length namelen, exclusive of trailing null). | 1024 & a string of length namelen, exclusive of trailing null). |
| 1025 * case_ok() is to return 1 if there's a case-sensitive match for | 1025 * case_ok() is to return 1 if there's a case-sensitive match for |
| 1026 * name, else 0. case_ok() is also to return 1 if envar PYTHONCASEOK | 1026 * name, else 0. case_ok() is also to return 1 if envar PYTHONCASEOK |
| 1027 * exists. | 1027 * exists. |
| 1028 * case_ok() is used to implement case-sensitive import semantics even | 1028 * case_ok() is used to implement case-sensitive import semantics even |
| 1029 * on platforms with case-insensitive filesystems. It's trivial to implement | 1029 * on platforms with case-insensitive filesystems. It's trivial to implement |
