mirror of
https://github.com/python/cpython.git
synced 2025-08-28 20:56:54 +00:00
Use docstrings for exception classes
This commit is contained in:
parent
f74e46cf47
commit
93cf79fde4
2 changed files with 4 additions and 2 deletions
|
@ -170,7 +170,8 @@ def expanduser(path):
|
|||
"""Dummy to retain interface-compatibility with other operating systems."""
|
||||
return path
|
||||
|
||||
class norm_error(Exception): pass
|
||||
class norm_error(Exception):
|
||||
"""Path cannot be normalized"""
|
||||
|
||||
def normpath(s):
|
||||
"""Normalize a pathname. Will return the same result for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue