You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because we wrote it mostly for python 2.7, where map returns a list. In python 3, however, map returns an iterable map object (https://docs.python.org/3/library/functions.html#map). If you need a list, you could just pass the result to list.
As far as the type of sitemaps, I'd be content if it were explicitly made a list, though.
type(robots.sitemaps)
is<class 'map'>
instead of list (as described in README).Why is that so?
The text was updated successfully, but these errors were encountered: