Skip to content

Commit

Permalink
Make arrow spacing more consistent in surf docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Starbuck5 committed May 21, 2024
1 parent ea49ccf commit b4f0aae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/reST/ref/surface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@
.. attribute:: height

| :sl:`Surface height in pixels (read-only)`
| :sg:`height->int`
| :sg:`height -> int`
Read-only attribute. Same as :meth:`get_height()`

Expand All @@ -1060,7 +1060,7 @@
.. attribute:: size

| :sl:`Surface size in pixels (read-only)`
| :sg:`height->tuple[int, int]`
| :sg:`height -> tuple[int, int]`
Read-only attribute. Same as :meth:`get_size()`

Expand Down
4 changes: 2 additions & 2 deletions src_c/doc/surface_doc.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@
#define DOC_SURFACE_PIXELSADDRESS "_pixels_address -> int\npixel buffer address"
#define DOC_SURFACE_PREMULALPHA "premul_alpha() -> Surface\nreturns a copy of the surface with the RGB channels pre-multiplied by the alpha channel."
#define DOC_SURFACE_WIDTH "width -> int\nSurface width in pixels (read-only)"
#define DOC_SURFACE_HEIGHT "height->int\nSurface height in pixels (read-only)"
#define DOC_SURFACE_SIZE "height->tuple[int, int]\nSurface size in pixels (read-only)"
#define DOC_SURFACE_HEIGHT "height -> int\nSurface height in pixels (read-only)"
#define DOC_SURFACE_SIZE "height -> tuple[int, int]\nSurface size in pixels (read-only)"

0 comments on commit b4f0aae

Please sign in to comment.