Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Changed minor name mismatch#3544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Starbuck5 merged 1 commit intopygame:mainfromMatiiss:matiiss-fix-docs-pixelarray
Nov 6, 2022
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Changed minor name mismatch
Update pixelarray_doc.h
  • Loading branch information
Matiiss committedNov 6, 2022
commit70134ef6ae206e9bd7994b01ff599caee473f56b
2 changes: 1 addition & 1 deletiondocs/reST/ref/pixelarray.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -282,7 +282,7 @@
.. method:: close

| :sl:`Closes the PixelArray, and releases Surface lock.`
| :sg:`transpose() -> PixelArray`
| :sg:`close() -> PixelArray`

This method is for explicitly closing the PixelArray, and releasing
a lock on the Surface.
Expand Down
4 changes: 2 additions & 2 deletionssrc_c/doc/pixelarray_doc.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -10,7 +10,7 @@
#define DOC_PIXELARRAYEXTRACT "extract(color, distance=0, weights=(0.299, 0.587, 0.114)) -> PixelArray\nExtracts the passed color from the PixelArray."
#define DOC_PIXELARRAYCOMPARE "compare(array, distance=0, weights=(0.299, 0.587, 0.114)) -> PixelArray\nCompares the PixelArray with another one."
#define DOC_PIXELARRAYTRANSPOSE "transpose() -> PixelArray\nExchanges the x and y axis."
#define DOC_PIXELARRAYCLOSE "transpose() -> PixelArray\nCloses the PixelArray, and releases Surface lock."
#define DOC_PIXELARRAYCLOSE "close() -> PixelArray\nCloses the PixelArray, and releases Surface lock."


/* Docs in a comment... slightly easier to read. */
Expand DownExpand Up@@ -62,7 +62,7 @@ pygame.PixelArray.transpose
Exchanges the x and y axis.

pygame.PixelArray.close
transpose() -> PixelArray
close() -> PixelArray
Closes the PixelArray, and releases Surface lock.

*/

[8]ページ先頭

©2009-2025 Movatter.jp