Skip to content

Commit a30b9c7

Browse files
authored
Merge pull request #77 from rmcintosh/get-regions-ex
Fix get_regions() example
2 parents c455b2c + e4eb184 commit a30b9c7

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

src/getting_started/guides/python/Introduction.js

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export default function Introduction(props) {
2020
</div>
2121
<header>
2222
<h1>Getting started with Linode Python</h1>
23-
<h5>by William Smith; last updated October 22nd, 2017</h5>
2423
</header>
2524
<section>
2625
<p>
@@ -65,17 +64,17 @@ export default function Introduction(props) {
6564
</p>
6665
<Code
6766
example={`>>> for r in client.get_regions():
68-
... print(r.label)
67+
... print(r.id)
6968
...
70-
Dallas, TX
71-
Fremont, CA
72-
Atlanta, GA
73-
Newark, NJ
74-
London, UK
75-
Singapore, SG
76-
Frankfurt, DE
77-
Tokyo 2, JP
78-
Tokyo, JP`}
69+
us-south-1a
70+
us-west-1a
71+
us-southeast-1a
72+
us-east-1a
73+
eu-west-1a
74+
ap-south-1a
75+
eu-central-1a
76+
ap-northeast-1b
77+
ap-northeast-1a`}
7978
name="bash"
8079
noclipboard
8180
/>

0 commit comments

Comments
 (0)