Cleanup: use code doxy command for Python snippet

This commit is contained in:
Campbell Barton
2021-03-26 14:57:45 +11:00
parent ce528d02e1
commit 8adeab4b0e

View File

@@ -24,7 +24,8 @@
#pragma once
/*
/**
* \code{.py}
* import bpy
* import textwrap
*
@@ -42,6 +43,7 @@
* print("%d,%d," % (w, h))
* text = ", ".join(["0x%x" % p for p in pixels])
* print(textwrap.fill(text, width=120), end=",\n")
* \endcode
*/
/**