Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 408 for myprint (0.29 seconds)

  1. src/cmd/api/testdata/src/pkg/p1/p1.go

    	ByteConv = []byte("foo")
    )
    
    var ChecksumError = ptwo.NewError("gzip checksum error")
    
    const B0 = 2
    const StrConst = "foo"
    const FloatConst = 1.5
    
    type myInt int
    
    type MyInt int
    
    type Time struct{}
    
    type S struct {
    	// Deprecated: use PublicTime.
    	Public     *int
    	private    *int
    	PublicTime Time
    }
    
    // Deprecated: use URI.
    type URL struct{}
    
    type EmbedURLPtr struct {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Click Count (0)
  2. docs/de/docs/advanced/advanced-python-types.md

    Zum Beispiel könnten Sie deklarieren, dass etwas ein `str` oder `None` sein könnte:
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    `typing` hat außerdem eine Abkürzung, um zu deklarieren, dass etwas `None` sein könnte, mit `Optional`.
    
    Hier ist ein Tipp aus meiner sehr **subjektiven** Perspektive:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  3. tests/create_test.go

    	}
    
    	if _, ok := records[0]["@id"]; ok && fmt.Sprint(res2["id"]) != fmt.Sprint(records[0]["@id"]) {
    		t.Errorf("failed to create data from map with table, @id != id, got %v, expect %v", res2["id"], records[0]["@id"])
    	}
    
    	if _, ok := records[1]["id"]; ok && fmt.Sprint(res3["id"]) != fmt.Sprint(records[1]["@id"]) {
    		t.Errorf("failed to create data from map with table, @id != id")
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 09:55:20 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  4. docs/ru/docs/advanced/advanced-python-types.md

    Например, вы можете объявить, что значение может быть `str` или `None`:
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    В `typing` также есть сокращение, чтобы объявить, что значение может быть `None`, — `Optional`.
    
    Вот совет с моей очень субъективной точки зрения:
    
    - 🚨 Избегайте использования `Optional[SomeType]`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                        out.print(name);
                        out.print("\"><b>");
                        out.print(name);
                        out.print("</b></a>");
                    } else {
                        out.print(";\" HREF=\"");
                        out.print(path);
                        out.print(name);
                        out.print("\"><b>");
                        out.print(name);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  6. scripts/docs.py

        new_content = generate_readme_content()
        if new_content != old_content:
            print("README.md outdated from the latest index.md")
            print("Updating README.md")
            readme_path.write_text(new_content, encoding="utf-8")
            raise typer.Exit(1)
        print("README.md is up to date ✅")
    
    
    @app.command()
    def build_all() -> None:
        """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:46:10 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  7. docs/fr/docs/advanced/advanced-python-types.md

    Par exemple, vous pourriez déclarer que quelque chose peut être un `str` ou `None` :
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    `typing` propose également un raccourci pour déclarer que quelque chose peut être `None`, avec `Optional`.
    
    Voici un conseil issu de mon point de vue très subjectif :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  8. scripts/add_latest_release_date.py

            if date_part:
                print(f"Latest release {version} already has a date: {date_part}")
                sys.exit(0)
    
            today = date.today().isoformat()
            lines[i] = f"## {version} ({today})\n"
            print(f"Added date: {version} ({today})")
    
            with open(RELEASE_NOTES_FILE, "w") as f:
                f.writelines(lines)
            sys.exit(0)
    
        print("No release header found")
        sys.exit(1)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:06:36 GMT 2026
    - 1023 bytes
    - Click Count (0)
  9. docs_src/handling_errors/tutorial006_py310.py

    
    @app.exception_handler(StarletteHTTPException)
    async def custom_http_exception_handler(request, exc):
        print(f"OMG! An HTTP error!: {repr(exc)}")
        return await http_exception_handler(request, exc)
    
    
    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request, exc):
        print(f"OMG! The client sent invalid data!: {exc}")
        return await request_validation_exception_handler(request, exc)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 928 bytes
    - Click Count (0)
  10. docs_src/python_types/tutorial011_py310.py

    
    external_data = {
        "id": "123",
        "signup_ts": "2017-06-01 12:22",
        "friends": [1, "2", b"3"],
    }
    user = User(**external_data)
    print(user)
    # > User id=123 name='John Doe' signup_ts=datetime.datetime(2017, 6, 1, 12, 22) friends=[1, 2, 3]
    print(user.id)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Sep 02 15:56:35 GMT 2023
    - 461 bytes
    - Click Count (0)
Back to Top