Skip to content

Commit 37155cd

Browse files
svsgooglecopybara-github
authored andcommitted
Rename kd.shapes.create -> kd.shapes.new in overview.md.
kd.shapes.create doesn't work anymore. PiperOrigin-RevId: 718893908 Change-Id: I0d55ff121815019206bed63c93a5f6857fb75f3b
1 parent a3b495c commit 37155cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,8 +1049,8 @@ d = kd.dict() # immutable
10491049
d = d.fork_bag() # mutable
10501050
for i in range(100):
10511051
# Insert random x=>y mappings (10 at a time)
1052-
k = kd.random.randint_shaped(kd.shapes.create(10))
1053-
v = kd.random.randint_shaped(kd.shapes.create(10))
1052+
k = kd.random.randint_shaped(kd.shapes.new(10))
1053+
v = kd.random.randint_shaped(kd.shapes.new(10))
10541054
d[k] = v
10551055
d = d.freeze_bag() # immutable
10561056

0 commit comments

Comments
 (0)