summaryrefslogtreecommitdiff
path: root/src/buildstream/_yaml.pyx
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-07-09 17:35:50 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-07-15 14:14:03 +0000
commita1705d5e5ee5ed714528fff37520bf774f8f2fbe (patch)
treec3879b42aeb49424ce9b65ab542b316b08d71904 /src/buildstream/_yaml.pyx
parent20335e6cd37cf40111042f324d2daec249628c64 (diff)
downloadbuildstream-a1705d5e5ee5ed714528fff37520bf774f8f2fbe.tar.gz
_yaml: Mark new_syntethic_file as BuildStream private
Diffstat (limited to 'src/buildstream/_yaml.pyx')
-rw-r--r--src/buildstream/_yaml.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_yaml.pyx b/src/buildstream/_yaml.pyx
index 0f9fca519..932d32db3 100644
--- a/src/buildstream/_yaml.pyx
+++ b/src/buildstream/_yaml.pyx
@@ -1140,7 +1140,7 @@ cpdef Node load_data(str data, int file_index=_SYNTHETIC_FILE_INDEX, str file_na
# (Node): An empty YAML mapping node, whose provenance is to this new
# synthetic file
#
-def new_synthetic_file(str filename, object project=None):
+def _new_synthetic_file(str filename, object project=None):
cdef Py_ssize_t file_index = len(_FILE_LIST)
cdef Node node = MappingNode.__new__(MappingNode, file_index, 0, 0, {})