@@ -58,21 +58,21 @@ msgid ""
5858"it as the first argument to :func:`.input`. A single file name is also "
5959"allowed."
6060msgstr ""
61- "ਇਹ``sys.argv[1:]``ਵਿੱਚ ਦਿੱਤੀਆਂ ਸਾਰੀਆਂ ਫ਼ਾਈਲਾਂ ਦੀਆਂ ਲਾਈਨਾਂ ਨੂੰ ਦੁਹਰਾਉਂਦਾ ਹੈ, ਅਤੇ ਜੇ ਸੂਚੀ ਖਾਲੀ "
62- "ਹੋਵੇ ਤਾਂ ``sys.stdin``ਨੂੰ ਡਿਫਾਲਟ ਵਜੋਂ ਵਰਤਦਾ ਹੈ। ਜੇ ਫ਼ਾਈਲ ਦਾ ਨਾਮ``'-'``ਹੈ, ਤਾਂ ਇਸਨੂੰ "
63- "ਵੀ ``sys.stdin``ਨਾਲ ਬਦਲ ਦਿੱਤਾ ਜਾਂਦਾ ਹੈ ਅਤੇ ਵਿਕਲਪਿਕ ਆਰਗੂਮੈਂਟ *mode* ਅਤੇ *openhook* ਨੂੰ "
64- "ਅਣਡਿੱਠਾ ਕਰ ਦਿੱਤਾ ਜਾਂਦਾ ਹੈ। ਵਿਕਲਪਿਕ ਫ਼ਾਈਲ ਨਾਮਾਂ ਦੀ ਸੂਚੀ ਨਿਰਧਾਰਤ ਕਰਨ ਲਈ, ਇਸਨੂੰ:func:`. "
65- "input` ਦੇ ਪਹਿਲੇ ਆਰਗੂਮੈਂਟ ਵਜੋਂ ਪਾਸ ਕਰੋ। ਇੱਕ ਸਿੰਗਲ ਫ਼ਾਈਲ ਨਾਮ ਦੀ ਵੀ ਇਜਾਜ਼ਤ ਹੈ।"
61+ "ਇਹ ``sys.argv[1:]`` ਵਿੱਚ ਦਿੱਤੀਆਂ ਸਾਰੀਆਂ ਫ਼ਾਈਲਾਂ ਦੀਆਂ ਲਾਈਨਾਂ ਨੂੰ ਦੁਹਰਾਉਂਦਾ ਹੈ, ਅਤੇ ਜੇ ਸੂਚੀ "
62+ "ਖਾਲੀ ਹੋਵੇ ਤਾਂ ``sys.stdin`` ਨੂੰ ਡਿਫਾਲਟ ਵਜੋਂ ਵਰਤਦਾ ਹੈ। ਜੇ ਫ਼ਾਈਲ ਦਾ ਨਾਮ ``'-'`` ਹੈ, ਤਾਂ "
63+ "ਇਸਨੂੰ ਵੀ ``sys.stdin`` ਨਾਲ ਬਦਲ ਦਿੱਤਾ ਜਾਂਦਾ ਹੈ ਅਤੇ ਵਿਕਲਪਿਕ ਆਰਗੂਮੈਂਟ *mode* ਅਤੇ "
64+ "*openhook* ਨੂੰ ਅਣਡਿੱਠਾ ਕਰ ਦਿੱਤਾ ਜਾਂਦਾ ਹੈ। ਵਿਕਲਪਿਕ ਫ਼ਾਈਲ ਨਾਮਾਂ ਦੀ ਸੂਚੀ ਨਿਰਧਾਰਤ ਕਰਨ ਲਈ, "
65+ "ਇਸਨੂੰ :func:`. input` ਦੇ ਪਹਿਲੇ ਆਰਗੂਮੈਂਟ ਵਜੋਂ ਪਾਸ ਕਰੋ। ਇੱਕ ਸਿੰਗਲ ਫ਼ਾਈਲ ਨਾਮ ਦੀ ਵੀ ਇਜਾਜ਼ਤ ਹੈ।"
6666
6767msgid ""
6868"All files are opened in text mode by default, but you can override this by "
6969"specifying the *mode* parameter in the call to :func:`.input` or :class:"
7070"`FileInput`. If an I/O error occurs during opening or reading a file, :exc:"
7171"`OSError` is raised."
7272msgstr ""
73- "ਸਾਰੀਆਂ ਫਾਈਲਾਂ ਮੂਲ ਰੂਪ ਵਿੱਚ ਟੈਕਸਟ ਮੋਡ ਵਿੱਚ ਖੋਲ੍ਹੀਆਂ ਜਾਂਦੀਆਂ ਹਨ, ਪਰ ਤੁਸੀਂ :func:`.input` ਜਾਂ :"
73+ "ਸਾਰੀਆਂ ਫ਼ਾਈਲਾਂ ਮੂਲ ਰੂਪ ਵਿੱਚ ਟੈਕਸਟ ਮੋਡ ਵਿੱਚ ਖੋਲ੍ਹੀਆਂ ਜਾਂਦੀਆਂ ਹਨ, ਪਰ ਤੁਸੀਂ :func:`.input` ਜਾਂ :"
7474"class:`FileInput` ਨੂੰ ਕਾਲ ਕਰਦੇ ਸਮੇਂ *mode* ਪੈਰਾਮੀਟਰ ਨਿਰਧਾਰਤ ਕਰਕੇ ਇਸਨੂੰ ਬਦਲ ਸਕਦੇ ਹੋ। ਜੇਕਰ "
75- "ਕਿਸੇ ਫਾਈਲ ਨੂੰ ਖੋਲ੍ਹਣ ਜਾਂ ਪੜ੍ਹਨ ਵੇਲੇ I/O ਗਲਤੀ ਹੁੰਦੀ ਹੈ, ਤਾਂ:exc:`OSError`ਉੱਠਾਈ ਜਾਂਦੀ ਹੈ।"
75+ "ਕਿਸੇ ਫ਼ਾਈਲ ਨੂੰ ਖੋਲ੍ਹਣ ਜਾਂ ਪੜ੍ਹਨ ਵੇਲੇ I/O ਗਲਤੀ ਹੁੰਦੀ ਹੈ, ਤਾਂ :exc:`OSError` ਉੱਠਾਈ ਜਾਂਦੀ ਹੈ।"
7676
7777msgid ":exc:`IOError` used to be raised; it is now an alias of :exc:`OSError`."
7878msgstr ""
@@ -171,8 +171,8 @@ msgid ""
171171"Return the name of the file currently being read. Before the first line has "
172172"been read, returns ``None``."
173173msgstr ""
174- "ਵਰਤਮਾਨ ਵਿੱਚ ਪੜ੍ਹੀ ਜਾ ਰਹੀ ਫਾਈਲ ਦਾ ਨਾਮ ਵਾਪਸ ਕਰਦਾ ਹੈ। ਪਹਿਲੀ ਲਾਈਨ ਪੜ੍ਹੇ ਜਾਣ ਤੋਂ ਪਹਿਲਾਂ, "
175- "``None``ਵਾਪਸ ਕਰਦਾ ਹੈ।"
174+ "ਵਰਤਮਾਨ ਵਿੱਚ ਪੜ੍ਹੀ ਜਾ ਰਹੀ ਫ਼ਾਈਲ ਦਾ ਨਾਮ ਵਾਪਸ ਕਰਦਾ ਹੈ। ਪਹਿਲੀ ਲਾਈਨ ਪੜ੍ਹੇ ਜਾਣ ਤੋਂ ਪਹਿਲਾਂ, "
175+ "``None`` ਵਾਪਸ ਕਰਦਾ ਹੈ।"
176176
177177msgid ""
178178"Return the integer \" file descriptor\" for the current file. When no file is "
@@ -248,13 +248,20 @@ msgid ""
248248"sequential order; random access and :meth:`~io.TextIOBase.readline` cannot "
249249"be mixed."
250250msgstr ""
251+ "ਕਲਾਸ :class:`FileInput` ਇਸਦੀ ਇੰਪਲੀਮੈਂਟੇਸ਼ਨ ਹੈ; ਇਸਦੇ ਢੰਗ :meth:`filename`, :meth:"
252+ "`fileno`, :meth:`lineno`, :meth:`filelineno`, :meth:`isfirstline`, :meth:"
253+ "`isstdin`, :meth:`nextfile` ਅਤੇ :meth:`close` ਮੋਡੀਊਲ ਵਿੱਚ ਇਸੇ ਨਾਮ ਵਾਲੇ ਫੰਕਸ਼ਨਾਂ ਨਾਲ "
254+ "ਸੰਬੰਧਿਤ ਹਨ। ਇਸ ਤੋਂ ਇਲਾਵਾ, ਇਹ :term:`iterable` ਹੈ ਅਤੇ ਇਸ ਵਿੱਚ :meth:`~io.TextIOBase."
255+ "readline` ਢੰਗ ਹੈ ਜੋ ਅਗਲੀ ਇਨਪੁਟ ਲਾਈਨ ਵਾਪਸ ਕਰਦਾ ਹੈ। ਕ੍ਰਮ ਨੂੰ ਸਖ਼ਤ ਕ੍ਰਮਵਾਰ ਢੰਗ ਨਾਲ ਐਕਸੈਸ "
256+ "ਕੀਤਾ ਜਾਣਾ ਚਾਹੀਦਾ ਹੈ; ਰੈਂਡਮ ਐਕਸੈਸ ਅਤੇ :meth:`~io.TextIOBase.readline` ਨੂੰ ਮਿਲਾ ਕੇ ਨਹੀਂ "
257+ "ਵਰਤਿਆ ਜਾ ਸਕਦਾ।"
251258
252259msgid ""
253260"With *mode* you can specify which file mode will be passed to :func:`open`. "
254261"It must be one of ``'r'`` and ``'rb'``."
255262msgstr ""
256263"`*mode*` ਨਾਲ ਤੁਸੀਂ ਇਹ ਨਿਰਧਾਰਤ ਕਰ ਸਕਦੇ ਹੋ ਕਿ :func:`open` ਨੂੰ ਕਿਹੜਾ ਫਾਈਲ ਮੋਡ ਦਿੱਤਾ "
257- "ਜਾਵੇਗਾ। ਇਹ ``'r'``ਜਾਂ ``'rb'`` ਵਿੱਚੋਂ ਕੋਈ ਇੱਕ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ।"
264+ "ਜਾਵੇਗਾ। ਇਹ ``'r'`` ਜਾਂ ``'rb'`` ਵਿੱਚੋਂ ਕੋਈ ਇੱਕ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ।"
258265
259266msgid ""
260267"The *openhook*, when given, must be a function that takes two arguments, "
0 commit comments