aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Nathaniel Manista <nathaniel@google.com>2015-03-12 12:49:42 -0700
committerGravatar Nathaniel Manista <nathaniel@google.com>2015-03-12 12:49:42 -0700
commit2f775193492b8eb72528b6ab6f3cc2a9ffde6164 (patch)
treec5a74c1aff501c501f089fc6642b060b56775eba
parente7268b8f841b334ea86f7432c0c1c62683b7d112 (diff)
parent8a6b38c9bea96c20637e83e23c0d45808dd464d9 (diff)
Merge pull request #1027 from nicolasnoble/python-const-fix
Remove a const from a variable that should be mutable.
-rw-r--r--src/python/src/grpc/_adapter/_call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/src/grpc/_adapter/_call.c b/src/python/src/grpc/_adapter/_call.c
index dca2e49373..d8806e5680 100644
--- a/src/python/src/grpc/_adapter/_call.c
+++ b/src/python/src/grpc/_adapter/_call.c
@@ -45,7 +45,7 @@ static int pygrpc_call_init(Call *self, PyObject *args, PyObject *kwds) {
const PyObject *channel;
const char *method;
const char *host;
- const double deadline;
+ double deadline;
static char *kwlist[] = {"channel", "method", "host", "deadline", NULL};
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O!ssd:Call", kwlist,