[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about modules documentation

On Sat, Sep 16, 2017 at 2:03 AM, Tobiah <toby at tobiah.org> wrote:
> It seems that if the statement read:
>         the imported module's name (singular) is placed in the
>         importing module's global symbol table.
> That it would be more accurate.

That implies that you only import one module. Consider:

import sys
import os
import math
import random

The imported module names ("sys", "os", "math", and "random") are all
then available as global names. That's why it's in the plural.