@snippet
def client_list_topics(client, to_delete):
 def do_something_with(sub):
  pass
 for topic in client.list_topics():
  do_something_with(topic)

@ snippet def client_list_topics ( client , to_delete ) : def do_something_with ( sub ) : pass for topic in client . list_topics ( ) : do_something_with ( topic )
list topics for a project .