summaryrefslogtreecommitdiff
path: root/src/buildstream/_yaml.pxd
diff options
context:
space:
mode:
authorBenjamin Schubert <contact@benschubert.me>2019-06-18 11:05:52 +0100
committerBenjamin Schubert <ben.c.schubert@gmail.com>2019-07-01 22:26:50 +0100
commit7155ae81763cc67fdbfd119bdffe30d72afc82a5 (patch)
treea1b5c6e0b05a4ee171b1dddc4e891954e5e92cda /src/buildstream/_yaml.pxd
parent7585f65696cf8cec4c587c85f8ca068f57e902c6 (diff)
downloadbuildstream-7155ae81763cc67fdbfd119bdffe30d72afc82a5.tar.gz
_yaml: Remove 'node_set'. Now use __setitem__
- Implement __setitem__ on 'MappingNode' - Implement __setitem__ on 'SequenceNode' - Adapt all call sites to use the new calling way.
Diffstat (limited to 'src/buildstream/_yaml.pxd')
-rw-r--r--src/buildstream/_yaml.pxd1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/buildstream/_yaml.pxd b/src/buildstream/_yaml.pxd
index 3e0ee86c2..98ea64b28 100644
--- a/src/buildstream/_yaml.pxd
+++ b/src/buildstream/_yaml.pxd
@@ -69,5 +69,4 @@ cdef class ProvenanceInformation:
cpdef void node_validate(Node node, list valid_keys) except *
-cpdef void node_set(Node node, object key, object value, list indices=*) except *
cpdef ProvenanceInformation node_get_provenance(Node node, str key=*, list indices=*)