| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| ``{path}`` | ||
| The full path to the file, including directory and full filename. | ||
| ``{dirname}`` | ||
| The name of the directory the file is in. | ||
| ``{basename}`` | ||
| Just the name of the file, not including the directory. | ||
| ``{basename_root}`` | ||
| Basename with the extension clipped off | ||
| (everything up to but not including the last '.'). | ||
| ``{basename_extension}`` | ||
| The last '.' and everything after it. If the basename | ||
| does not contain a period, this will be the empty string. |
There was a problem hiding this comment.
Here I added some markup.
Sorry, something went wrong.
| If there are no periods in the filename, ``{basename}`` and ``{filename}`` | ||
| are the same, and ``{extension}`` is empty. ``{basename}{extension}`` | ||
| is always exactly the same as ``{filename}``. |
There was a problem hiding this comment.
Here too, and also removed what appeared to by a stray " at the end.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR fixes the indentation of several blocks in the https://devguide.python.org/development-tools/clinic/ page that were rendered as blockquotes as described in #1178.
📚 Documentation preview 📚: https://cpython-devguide--1180.org.readthedocs.build/development-tools/clinic/