Skip to content

Commit 567c9fb

Browse files
committed
Merge pull request #1663 from dhermes/fix-1662
Renaming type->record_type in DNS doc.
2 parents be4c06c + 509137a commit 567c9fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/dns-usage.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ Each managed zone exposes a read-only set of resource records:
105105
>>> client = dns.Client(project='PROJECT_ID')
106106
>>> zone = client.zone('acme-co')
107107
>>> records, page_token = zone.list_resource_record_sets() # API request
108-
>>> [(record.name, record.type, record.ttl, record.rrdatas) for record in records]
108+
>>> [(record.name, record.record_type, record.ttl, record.rrdatas)
109+
... for record in records]
109110
[('example.com.', 'SOA', 21600, ['ns-cloud1.googlecomains.com dns-admin.google.com 1 21600 3600 1209600 300'])]
110111

111112
.. note::

0 commit comments

Comments
 (0)