diff --git a/pep-0428.txt b/pep-0428.txt index 434310ead..4a3c7e640 100644 --- a/pep-0428.txt +++ b/pep-0428.txt @@ -584,6 +584,14 @@ Higher-level methods help examine the kind of the file:: False >>> p.is_symlink() False + >>> p.is_sock() + False + >>> p.is_fifo() + False + >>> p.is_block_device() + False + >>> p.is_char_device() + False The file owner and group names (rather than numeric ids) are queried through matching properties::