| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -63,11 +63,14 @@ | |||
| 63 | 63 | If the resource does not concretely exist on the file system, | |
| 64 | 64 | raise :exc:`FileNotFoundError`. | |
| 65 | 65 | ||
| 66 | - .. method:: is_resource(name) | ||
| 66 | + .. method:: is_resource(path) | ||
| 67 | 67 | :abstractmethod: | |
| 68 | 68 | ||
| 69 | - Returns ``True`` if the named *name* is considered a resource. | ||
| 70 | - :exc:`FileNotFoundError` is raised if *name* does not exist. | ||
| 69 | + Returns ``True`` if the named *path* is considered a resource. | ||
| 70 | + :exc:`FileNotFoundError` is raised if *path* does not exist. | ||
| 71 | + | ||
| 72 | + .. versionchanged:: 3.10 | ||
| 73 | + The argument *name* was renamed to *path*. | ||
| 71 | 74 | ||
| 72 | 75 | .. method:: contents() | |
| 73 | 76 | :abstractmethod: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments