Skip to content

Commit

Permalink
Docs: Update create-and-import-modules.md (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricosmall authored Dec 29, 2023
1 parent 7f06e4c commit b826507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/create-and-import-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ In Python, all variables, functions, classes, and other members that can be acce

Feature | JavaScript | Python
--- | --- | ---
Import module | `import foo from 'module'` | `import foo`
Import module | `import foo from 'module'` | `import module`
Import specific members from module | `import { foo, bar } from 'module'` | `from module import foo, bar`
Import module with alias | `import { foo as alias } from 'module'` | `from module import foo as alias`
Import entire module with alias | `import * as alias from 'module'` | `import module as alias`
Expand Down

0 comments on commit b826507

Please sign in to comment.