commit | b37296c1b6646d40490b28705d4124775804f318 | [log] [tgz] |
---|---|---|
author | Marwan Tammam <marwan.01010100@gmail.com> | Mon Mar 18 10:54:02 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Mar 18 10:56:04 2019 -0700 |
tree | 08c78d0a4d9bc0a4eb21837cbaa787bdbf0af985 | |
parent | 23c6f62bab73e99b2e909dedf07f30ffa9aa1b29 [diff] |
Extend dict update to accept keyword args Closes [dict.update should return None, not self #18](https://github.com/bazelbuild/starlark/issues/18) dict.update() method should now accept keyword args just like dict(...) **Example of usage:** ``` >> a = dict(a=1) .. >> a.update(b=2) .. None >> a.update({'c': 3}) .. None >> a .. {"a": 1, "b": 2, "c": 3} ``` Closes #7684. PiperOrigin-RevId: 239018051
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.