summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorErwin Coumans <erwincoumans@google.com>2017-02-21 17:53:49 -0800
committerErwin Coumans <erwincoumans@google.com>2017-02-21 17:53:49 -0800
commit218f8832118943642b315fa935f57cdb8aab47d2 (patch)
tree40a91ced836aca694c02f983d885ee46a8553f10 /examples
parent926c83f2ab9ebe1c1412e4afa5440d873bff97d5 (diff)
downloadbullet3-218f8832118943642b315fa935f57cdb8aab47d2.tar.gz
make flag/enable required argument
update pybullet quickstart guide PDF from https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#
Diffstat (limited to 'examples')
-rw-r--r--examples/pybullet/pybullet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pybullet/pybullet.c b/examples/pybullet/pybullet.c
index 00ddec83f..6cd50d129 100644
--- a/examples/pybullet/pybullet.c
+++ b/examples/pybullet/pybullet.c
@@ -2966,7 +2966,7 @@ static PyObject* pybullet_configureDebugVisualizer(PyObject* self, PyObject* arg
b3PhysicsClientHandle sm=0;
static char *kwlist[] = { "flag", "enable", "physicsClientId", NULL };
- if (!PyArg_ParseTupleAndKeywords(args, keywds, "|iii", kwlist,
+ if (!PyArg_ParseTupleAndKeywords(args, keywds, "ii|i", kwlist,
&flag, &enable, &physicsClientId))
return NULL;