0

Inside numpy.fft._pocketfft.py you can find import commands like:

from . import _pocketfft_internal as pfi

How would I interpret this line?

Artur Müller Romanov
  • 4,417
  • 10
  • 73
  • 132

1 Answers1

1

. means from current package. Hence, this line means:

from . import _pocketfft_internal as pfi

Import _pocketfft_internal from current package, you should be able to see a file named _pocketfft_internal.py in the current directory. You can study more about this from here

Zain Arshad
  • 1,885
  • 1
  • 11
  • 26