Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • U uPython-mirror
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TASTE
  • uPython-mirror
  • Repository
Switch branch/tag
  • uPython-mirror
  • tests
  • basics
  • import-pkg2.py
Find file BlameHistoryPermalink
  • Paul Sokolovsky's avatar
    import: Implement "from pkg.mod import sym" syntax properly. · fb7f9439
    Paul Sokolovsky authored Feb 20, 2014
    http://docs.python.org/3.3/library/functions.html#__import__ :
    "When the name variable is of the form package.module, normally, the
    top-level package (the name up till the first dot) is returned, not
    the module named by name. However, when a non-empty fromlist argument
    is given, the module named by name is returned."
    fb7f9439

Replace import-pkg2.py

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.