Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-02-15 03:50:30 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-02-15 03:50:30 +0400
commit8d44c4735ec29984f93dcbf4cdc792ab08831e83 (patch)
treebea160af345f9dee9d070616bb8e8619f897e3cc /source/blender/freestyle/intern/python/BPy_MediumType.cpp
parent731d08d4974ce695e7d1446b934d0656a4d82942 (diff)
Minor coding style clean-up.
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_MediumType.cpp')
-rw-r--r--source/blender/freestyle/intern/python/BPy_MediumType.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_MediumType.cpp b/source/blender/freestyle/intern/python/BPy_MediumType.cpp
index 111fb756ba2..1802dae094b 100644
--- a/source/blender/freestyle/intern/python/BPy_MediumType.cpp
+++ b/source/blender/freestyle/intern/python/BPy_MediumType.cpp
@@ -10,7 +10,7 @@ extern "C" {
/*-----------------------BPy_MediumType type definition ------------------------------*/
-static char MediumType___doc__[] =
+PyDoc_STRVAR(MediumType_doc,
"Class hierarchy: int > :class:`MediumType`\n"
"\n"
"The different blending modes available to similate the interaction\n"
@@ -18,7 +18,7 @@ static char MediumType___doc__[] =
"\n"
"* Stroke.DRY_MEDIUM: To simulate a dry medium such as Pencil or Charcoal.\n"
"* Stroke.HUMID_MEDIUM: To simulate ink painting (color substraction blending).\n"
-"* Stroke.OPAQUE_MEDIUM: To simulate an opaque medium (oil, spray...).\n";
+"* Stroke.OPAQUE_MEDIUM: To simulate an opaque medium (oil, spray...).");
PyTypeObject MediumType_Type = {
PyVarObject_HEAD_INIT(NULL, 0)
@@ -41,7 +41,7 @@ PyTypeObject MediumType_Type = {
0, /* tp_setattro */
0, /* tp_as_buffer */
Py_TPFLAGS_DEFAULT, /* tp_flags */
- MediumType___doc__, /* tp_doc */
+ MediumType_doc, /* tp_doc */
0, /* tp_traverse */
0, /* tp_clear */
0, /* tp_richcompare */
@@ -96,4 +96,3 @@ int MediumType_Init( PyObject *module )
#ifdef __cplusplus
}
#endif
-