From d113a073907b1128c7af32d89543ba28d7f46587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sun, 28 Apr 2024 12:18:21 +0200 Subject: [PATCH] Imports --- README.md | 2 +- index.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 66ac9b8..82232df 100644 --- a/README.md +++ b/README.md @@ -816,7 +816,7 @@ player = Player(point, direction) # Returns its instance. Imports ------- -**Mechanism that makes code in one module available to another module.** +**Mechanism that makes code in one file available to another file.** ```python import # Imports a built-in or '.py'. diff --git a/index.html b/index.html index 05177db..0af2bfb 100644 --- a/index.html +++ b/index.html @@ -54,7 +54,7 @@
- +
@@ -684,7 +684,7 @@ direction = Direction.N # Player = make_dataclass('Player', ['loc', 'dir']) # Creates a class. player = Player(point, direction) # Returns its instance. -

#Imports

Mechanism that makes code in one module available to another module.

import <module>            # Imports a built-in or '<module>.py'.
+

#Imports

Mechanism that makes code in one file available to another file.

import <module>            # Imports a built-in or '<module>.py'.
 import <package>           # Imports a built-in or '<package>/__init__.py'.
 import <package>.<module>  # Imports a built-in or '<package>/<module>.py'.
 
@@ -2934,7 +2934,7 @@ $ deactivate # Deactivates the activ