MCPcopy Create free account
hub / github.com/apple/coremltools / UpdatePython

Function UpdatePython

deps/protobuf/update_version.py:371–376  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

369 line))
370
371def UpdatePython():
372 RewriteTextFile('python/google/protobuf/__init__.py',
373 lambda line : re.sub(
374 r"^__version__ = '.*'$",
375 "__version__ = '%s'" % GetFullVersion(rc_suffix = 'rc'),
376 line))
377
378def UpdateRuby():
379 RewriteXml('ruby/pom.xml',

Callers 1

update_version.pyFile · 0.85

Calls 3

GetFullVersionFunction · 0.85
subMethod · 0.80
RewriteTextFileFunction · 0.70

Tested by

no test coverage detected